HomeCSharpPage 8

CSharp

Showing 141 - 160 of 961 results
C# Error CS1676 โ€“ Parameter {0} must be declared with the โ€˜{1}โ€™ keyword Reason for the Error & Solution Parameter...
c#This blog post will explain what is the default keyword in C# and the usecase of the default keyword in...
C# Compiler Error CS0548 โ€“ โ€˜propertyโ€™ : property or indexer must have at least one accessor Reason for the Error...
C# Error CS8171 โ€“ Cannot initialize a by-value variable with a reference Reason for the Error & Solution Cannot initialize...
There are times when you want to resolve the domain name to an IP address programmatically from your C# Application...
C# Error CS1021 โ€“ Integral constant is too large Reason for the Error & Solution Integral constant is too large...
C# Compiler Error CS0202 โ€“ foreach requires that the return type โ€˜typeโ€™ of โ€˜type.GetEnumerator()โ€™ must have a suitable public MoveNext...
This blog post will explain the feature Init-only properties in C# 9.0 and how to use it. Object Initializers is...
Does your Visual Studio 2010 run slow ??? Here's David Berg , in his Developer Division Performance Engineering blog explains...
C# Error CS8125 โ€“ Tuple element name โ€˜{0}โ€™ is only allowed at position {1}. Reason for the Error & Solution...
C# Compiler Error CS0192 โ€“ Fields of static readonly field โ€˜nameโ€™ cannot be passed ref or out (except in a...
C# Error CS1937 โ€“ The name โ€˜{0}โ€™ is not in scope on the left side of โ€˜equalsโ€™. Consider swapping the...
C# Compiler Error CS0248 โ€“ Cannot create an array with a negative size Reason for the Error You will receive...
C# Error CS1741 โ€“ A ref or out parameter cannot have a default value Reason for the Error & Solution...
C# Error CS0737 โ€“ โ€˜{0}โ€™ does not implement interface member โ€˜{1}โ€™. โ€˜{2}โ€™ cannot implement an interface member because it is...
C# Error CS1112 โ€“ Do not use โ€˜System.Runtime.CompilerServices.ExtensionAttributeโ€™. Use the โ€˜thisโ€™ keyword instead. Reason for the Error & Solution Do...
Assume that you have a string in C# and you want to have a mixture of both the upper case...
C# Error CS1654 โ€“ Cannot modify members of โ€˜{0}โ€™ because it is a โ€˜{1}โ€™ Reason for the Error & Solution...
If you need to get the list of all drives installed on your system using C# , you can use...
C# Error CS1545 โ€“ Property, indexer, or event โ€˜{0}โ€™ is not supported by the language; try directly calling accessor methods...