HomeCSharpPage 9

CSharp

Showing 161 - 180 of 961 results
C# Error CS8210 โ€“ A tuple may not contain a value of type โ€˜voidโ€™. Reason for the Error & Solution...
C# Compiler Error CS0534 โ€“ โ€˜function1โ€™ does not implement inherited abstract member โ€˜function2โ€™ Reason for the Error Youโ€™ll get this...
C# Error CS0681 โ€“ The modifier โ€˜abstractโ€™ is not valid on fields. Try using a property instead. Reason for the...
The enumeration in C# lets the developers to define a limited set of known values. For example , I can...
C# Error CS0843 โ€“ Auto-implemented property โ€˜{0}โ€™ must be fully assigned before control is returned to the caller. Consider updating...
Introduction Dapper.NET is one of the popular ORM (Object Relational Mapper) for .NET. It is an open source, light weight,...
C# Error CS1931 โ€“ The range variable โ€˜{0}โ€™ conflicts with a previous declaration of โ€˜{0}โ€™ Reason for the Error &...
If you have got an array of integers and you want to multiple the values inside the array and display...
This C# program is designed to determine whether a given number is an Armstrong number or no Problem Statement An...
C# Error CS8147 โ€“ Properties which return by reference cannot have set accessors Reason for the Error & Solution Properties...
C# Compiler Error CS0126 โ€“ An object of a type convertible to โ€˜typeโ€™ is required Reason for the Error You...
There are times when you want to retrieve the ID of the last inserted record when using Entity Framework ....
This C# program demonstrates the creation of a simple stopwatch using the Stopwatch class from the System.Diagnostics namespace. Stopwatch is...
C# Compiler Error CS0161 โ€“ โ€˜methodโ€™: not all code paths return a value Reason for the Error You will receive...
C# Compiler Error CS0206 โ€“ A property or indexer may not be passed as an out or ref parameter Reason...
In one of my previous blog posts , we looked at converting c# object to Json string using the Newtonsoft.Json...
C# Error CS0668 โ€“ Two indexers have different names; the IndexerName attribute must be used with the same name on...
C# Error CS8146 โ€“ Properties which return by reference must have a get accessor Reason for the Error & Solution...
This C# program demonstrates how to calculate the transpose of a matrix. The transpose of a matrix is a new...
C# Error CS1679 โ€“ Invalid extern alias for โ€˜/referenceโ€™; โ€˜{0}โ€™ is not a valid identifier Reason for the Error &...