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