HomeCSharpPage 33

CSharp

Showing 641 - 660 of 961 results
C# Error CS0720 – ‘{0}’: cannot declare indexers in a static class Reason for the Error & Solution ‘static class’:...
C# Error CS0718 – ‘{0}’: static types cannot be used as type arguments Reason for the Error & Solution ‘type’:...
Introduction This program in C# developed using .NET Framework and Visual Studio  will demonstrate how to swap numbers using the...
This C# program calculates the combination value C(n, r), often referred to as “n choose r” or “nCr.” In combinatorial...
C# Compiler Error Message CS0050 – Inconsistent accessibility: return type ‘type’ is less accessible than method ‘method’ Reason for the...
C# Error CS8170 – Struct members cannot return ‘this’ or other instance members by reference Reason for the Error &...
C# Error CS8174 – A declaration of a by-reference variable must have an initializer Reason for the Error & Solution...
This tutorial will demonstrate in simple steps on how to insert data to the table using Dapper in .NET. We...
C# Compiler Error Type ‘class’ already defines a member called ‘member’ with the same parameter types Reason for the Error...
C# Compiler Error CS0103 – The name ‘identifier’ does not exist in the current context Reason for the Error You...
C# Compiler Error CS0239 – ‘member’ : cannot override inherited member ‘inherited member’ because it is sealed Reason for the...
C# Compiler Error CS0122 – ‘member’ is inaccessible due to its protection level Reason for the Error You will usually...
C# Error CS5001 – Program does not contain a static ‘Main’ method suitable for an entry point Reason for the...
C# Error CS1003 – Syntax error, ‘{0}’ expected Reason for the Error & Solution Syntax error, ‘char’ expected The compiler...
C# Error CS1024 – Preprocessor directive expected Reason for the Error & Solution Preprocessor directive expected A line began with...
C# Error CS0713 – Static class ‘{0}’ cannot derive from type ‘{1}’. Static classes must derive from object. Reason for...
C# Error CS1585 – Member modifier ‘{0}’ must precede the member type and name Reason for the Error & Solution...
C# Compiler Error CS0199 – Fields of static readonly field ‘name’ cannot be passed ref or out (except in a...
C# Compiler Error CS0104 – ‘reference’ is an ambiguous reference between ‘identifier’ and ‘identifier’ Reason for the Error You will...