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