HomeCSharpPage 2

CSharp

Showing 21 - 40 of 961 results
In this post, you’ll learn all the C# compiler error and warnings from the code CS4001 to CS6000. C# Compiler...
C# Error CS1751 – Cannot specify a default value for a parameter array Reason for the Error & Solution Cannot...
C# Error CS0739 – ‘{0}’ duplicate TypeForwardedToAttribute Reason for the Error & Solution ‘type name’ duplicate TypeForwardedToAttribute. An assembly can...
C# Error CS1672 – Invalid option ‘{0}’ for /platform; must be anycpu, x86, Itanium, arm, arm64 or x64 Reason for...
C# Error CS1625 – Cannot yield in the body of a finally clause Reason for the Error & Solution Cannot...
C# Error CS8145 – Auto-implemented properties cannot return by reference Reason for the Error & Solution Auto-implemented properties cannot return...
In the realm of student management systems, the assignment of unique register numbers is a fundamental task. Automation plays a...
C# Error CS8141 – The tuple element names in the signature of method ‘{0}’ must match the tuple element names...
There are different ways in which the developers can get the computer name in their .NET application using C#. Using...
C# Compiler Error CS0533 – ‘derived-class member’ hides inherited abstract member ‘base-class member’ Reason for the Error You’ll get this...
C# Error CS0601 – The DllImport attribute must be specified on a method marked ‘static’ and ‘extern’ Reason for the...
Introduction This program developed using C# , .NET Framework and Visual Studio demonstrates how to generate random number in C#....
You can use the using statement in C# for ensuring that the object is disposed when it goes out of...
This blog post will explain one of the new feature called Records that was introduced in C# 9.0. Records in...
This article will provide a code snippet and explains how to return Dictionary as result from a LINQ Query in...
In this C# tips and tricks blog post , we look at how to use String.Format function to display the...
This blog post will explain in simple steps on how you can mark a method or function obsolete in C#...
C# Error CS1107 – A parameter can only have one ‘{0}’ modifier Reason for the Error & Solution A parameter...
C# Error CS0828 – Cannot assign ‘{0}’ to anonymous type property Reason for the Error & Solution Cannot assign ‘expression’...
Today , I was required to order a list of records based on a Name and then ID . A...