HomeCSharpPage 32

CSharp

Showing 621 - 640 of 961 results
C# Error CS1665 โ€“ Fixed size buffers must have a length greater than zero Reason for the Error & Solution...
C# Error CS0674 โ€“ Do not use โ€˜System.ParamArrayAttributeโ€™. Use the โ€˜paramsโ€™ keyword instead. Reason for the Error & Solution Do...
C# Compiler Error CS0077 โ€“ The as operator must be used with a reference type or nullable type (โ€˜intโ€™ is...
This program demonstrates a basic array merging operation in C#. This operation involves combining the elements of two separate arrays...
Do you want to convert a string to a stream in C# ? . Below is a sample code snippet...
This C# program calculates the cube root of a given number using the Newton-Raphson method for approximating cube roots. Problem...
This is my third post of the series of the Number Converter for Windows Phone 7 sourcecode. In my previous...
In statistics, the mean isย the average ofย a set of numbers. In this task, we will writeย a C# programย to find the...
C# Compiler Error Message Error CS0017 Program โ€˜output file nameโ€™ has more than one entry point defined. Compile with /main...
There are times when you might want to split a string to array of strings based on delimiter in C#....
C# Error CS0724 โ€“ A throw statement with no arguments is not allowed in a finally clause that is nested...
If you want to copy one array to another in C#, you can use the Array.Copy static method . The...
Sometimes you may want to create an temporary file . Instead of manipulating the userโ€™s temporary directory and then manually...
This C# program is designed to calculate and display the factors of a specified positive integer. Factors are the numbers...
C# Error CS0629 โ€“ Conditional member โ€˜{0}โ€™ cannot implement interface member โ€˜{1}โ€™ in type โ€˜{2}โ€™ Reason for the Error &...
This is one of the most commonly faced errors by the C# developers when they are working with the runtime...
C# Error CS8374 โ€“ Cannot ref-assign โ€˜{1}โ€™ to โ€˜{0}โ€™ because โ€˜{1}โ€™ has a narrower escape scope than โ€˜{0}โ€™. Reason for...
When you create a new Modern UI(Metro) Windows 8 Project in Visual Studio , a default start page MainPage.xaml will...
The .NET Framework provides the format strings like โ€œDโ€ and โ€œXโ€ which can be easily used by the developers to...
C# Error CS8373 โ€“ The left-hand side of a ref assignment must be a ref variable. Reason for the Error...