HomeCSharpPage 17

CSharp

Showing 321 - 340 of 961 results
C# Error CS1583 – Error reading Win32 resources — {0} Reason for the Error & Solution ‘file’ is not a...
This simple tip in C# shows you how to convert int to string by padding it with zeros. Assume that...
C# Error CS8411 – Asynchronous foreach statement cannot operate on variables of type ‘{0}’ because ‘{0}’ does not contain a...
C# Compiler Error CS0118 – construct1_name’ is a ‘construct1’ but is used like a ‘construct2’ Reason for the Error You...
C# Compiler Error CS0540 – ‘interface member’ : containing type does not implement interface ‘interface’ Reason for the Error You’ll...
C# Compiler Error CS0165 – Use of unassigned local variable ‘name’ Reason for the Error You will receive this error...
C# Error CS0706 – Invalid constraint type. A type used as a constraint must be an interface, a non-sealed class...
C# Error CS0611 – Array elements cannot be of type ‘{0}’ Reason for the Error & Solution Array elements cannot...
C# Error CS1612 – Cannot modify the return value of ‘{0}’ because it is not a variable Reason for the...
In one of the previous blog post , we saw the Out variables enhancements in C# 7.0. This blog post...
C# Compiler Error CS0116 – A namespace cannot directly contain members such as fields or methods. Reason for the Error...
C# Error CS1642 – Fixed size buffer fields may only be members of structs Reason for the Error & Solution...
C# Error CS1551 – Indexers must have at least one parameter Reason for the Error & Solution Indexers must have...
There are occassions where you might have to convert or encode a string to base64 and vice versa in C#....
C# Error CS0734 – The /moduleassemblyname option may only be specified when building a target type of ‘module’ Reason for...
In this blog post , lets have a look at the usage of ExpandoObject in C# to create the C#...
If you are looking at a way to get the name of the current method in C#, here’s a quick...
This program provides a basic structure for converting days into years, months, and days in C#. You can run this...
C# Error CS8150 – By-value returns may only be used in methods that return by value Reason for the Error...
C# Error CS1511 – Keyword ‘base’ is not available in a static method Reason for the Error & Solution Keyword...