HomeCSharpPage 29

CSharp

Showing 561 - 580 of 961 results
C# Error CS2034 – A /reference option that declares an extern alias can only have one filename. To specify multiple...
C# Error CS0686 – Accessor ‘{0}’ cannot implement interface member ‘{1}’ for type ‘{2}’. Use an explicit interface implementation. Reason...
C# Compiler Error CS0173 – Type of conditional expression cannot be determined because there is no implicit conversion between ‘class1’...
C# Error CS1656 – Cannot assign to ‘{0}’ because it is a ‘{1}’ Reason for the Error & Solution Cannot...
C# Error CS1651 – Fields of static readonly field ‘{0}’ cannot be used as a ref or out value (except...
C# Error CS0825 – The contextual keyword ‘var’ may only appear within a local variable declaration or in script code...
In mathematics, nPr represents the number of permutations of n objects taken r at a time. In this task, we will write a C# program to find nPr....
C# Error CS0682 – ‘{0}’ cannot implement ‘{1}’ because it is not supported by the language Reason for the Error...
In this post, you’ll learn all the C# compiler error and warnings from the code CS9001 to CS9100. C# Compiler...
C# Error CS1680 – Invalid reference alias option: ‘{0}=’ — missing filename Reason for the Error & Solution Invalid reference...
When developing a Windows Application , the developers can use the FolderBrowserDialog control which lets the user to select a...
This C# program is designed to count the occurrences of the digit ‘1’ in a user-entered number. It leverages basic...
C# Compiler Error CS0571 – ‘function’ : cannot explicitly call operator or accessor Reason for the Error You will get...
C# Error CS1926 – Error opening Win32 manifest file {0} — {1} Reason for the Error & Solution Error reading...
C# Compiler Error CS0572 – ‘type’ : cannot reference a type through an expression; try ‘path_to_type’ instead Reason for the...
C# Error CS1019 – Overloadable unary operator expected Reason for the Error & Solution Overloadable unary operator expected Something that...
C# Error CS1708 – Fixed size buffers can only be accessed through locals or fields Reason for the Error &...
C# Error CS8124 – Tuple must contain at least two elements. Reason for the Error & Solution Tuple must contain...
Introduction This program in C# developed using .NET Framework 4.5 and Visual Studio 2013 will check if the entered number...
Do you want to know if an integer is a power of 2 in C# ? . Below is a...