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...