HomeCSharp

CSharp

Showing 1 - 20 of 961 results
C# Compiler Error CS0442 โ€“ โ€˜Propertyโ€™: abstract properties cannot have private accessors Reason for the Error Youโ€™ll get this error...
This is a really simple one . Below is a simple example of an enum called โ€œDesignationโ€ defined with the...
This blog post explain the usage of the Checked Block in .NET and how you can use them in Visual...
There are times when you might get the below error when you have multiple projects with-in your Visual Studio solution....
This post will explain in simple steps on how to get type name without full name in C# using the...
C# Error CS0762 โ€“ Cannot create delegate from method โ€˜{0}โ€™ because it is a partial method without an implementing declaration...
In this post, youโ€™ll learn all the C# compiler error and warnings from the code CS0501 to CS1000. C# Compiler...
C# Error CS8403 โ€“ Method โ€˜{0}โ€™ with an iterator block must be โ€˜asyncโ€™ to return โ€˜{1}โ€™ Reason for the Error...
C# Error CS1715 โ€“ โ€˜{0}โ€™: type must be โ€˜{2}โ€™ to match overridden member โ€˜{1}โ€™ Reason for the Error & Solution...
C# Compiler Error CS0117 โ€“ โ€˜typeโ€™ does not contain a definition for โ€˜identifierโ€™ Reason for the Error This error can...
C# Error CS1540 โ€“ Cannot access protected member โ€˜{0}โ€™ via a qualifier of type โ€˜{1}โ€™; the qualifier must be of...
C# Error CS1113 โ€“ Extension method โ€˜{0}โ€™ defined on value type โ€˜{1}โ€™ cannot be used to create delegates Reason for...
C# Compiler Error CS0506 โ€“ โ€˜function1โ€™ : cannot override inherited member โ€˜function2โ€™ because it is not marked โ€œvirtualโ€, โ€œabstractโ€, or...
C# Error CS8160 โ€“ A readonly field cannot be returned by writable reference Reason for the Error & Solution A...
If you want to convert a date to a Http formatted date in C# , the developers can use the...
C# Error CS1740 โ€“ Named argument โ€˜{0}โ€™ cannot be specified multiple times Reason for the Error & Solution Named argument...
C# Error CS0751 โ€“ A partial method must be declared within a partial type Reason for the Error & Solution...
C# Error CS1619 โ€“ Cannot create temporary file โ€” {0} Reason for the Error & Solution Cannot create temporary file...
Do you want to programmatically know the number of processors in your machine from the console application using C# ?....
C# Error CS1914 โ€“ Static field or property โ€˜{0}โ€™ cannot be assigned in an object initializer Reason for the Error...