HomeCSharpPage 4

CSharp

Showing 61 - 80 of 961 results
C# Error CS1721 – Class ‘{0}’ cannot have multiple base classes: ‘{1}’ and ‘{2}’ Reason for the Error & Solution...
C# Compiler Error Error CS0115 – ‘function’ : no suitable method found to override Reason for the Error You would...
C# Error CS2005 – Missing file specification for ‘{0}’ option Reason for the Error & Solution Missing file specification for...
C# Compiler Error CS8119 – The switch expression must be a value; found ‘{0}’ Reason for the Error You will...
You can get the Unix timestamp in C# by subtracting the epoch time of 1st January 1970 from current UTC...
C# Compiler Error CS0102 – The type ‘type name’ already contains a definition for ‘identifier’ Reason for the Error You...
C# Compiler Error CS0080 – Constraints are not allowed on non-generic declarations Reason for the Error You will receive this...
C# Compiler Error CS0443 – Syntax error, value expected Reason for the Error You’ll get this error in your C#...
C# Error CS1951 – An expression tree lambda may not contain a ref, in or out parameter Reason for the...
C# Error CS8129 – No suitable ‘Deconstruct’ instance or extension method was found for type ‘{0}’, with {1} out parameters...
There are many different ways in which one can declare an array in C# . In this blog post ,...
C# Error CS1569 – Error writing to XML documentation file: {0} Reason for the Error & Solution Error generating XML...
C# Compiler Error CS0053 – Inconsistent accessibility: property type ‘type’ is less accessible than property ‘property’ Reason for the Error...
C# Compiler Error CS0201 – Only assignment, call, increment, decrement, and new object expressions can be used as a statement...
C# Compiler Error CS0283 – The type ‘type’ cannot be declared const Reason for the Error You’ll get this error...
C# Error CS1037 – Overloadable operator expected Reason for the Error & Solution Overloadable operator expected When specifying a comment...
Assume that you have a string in C# and you will need to extract the number from it, You can...
Learnt something cool today on how to use Lambda expression and LINQ to concatenate string in C#. Using Lambda Expression...
C# Error CS1032 – Cannot define/undefine preprocessor symbols after first token in file Reason for the Error & Solution Cannot...