HomeCSharpPage 15

CSharp

Showing 281 - 300 of 961 results
This C# program demonstrates the process of copying a specified section of one array to another array. Arrays in C#...
Do you want to get assembly version or assembly file version in your C# code?. This blog post exactly explains...
C# Error CS1507 โ€“ Cannot link resource files when building a module Reason for the Error & Solution Cannot link...
C# Compiler Error CS0121 โ€“ The call is ambiguous between the following methods or properties: โ€˜method1โ€™ and โ€˜method2โ€ฒ Reason for...
C# Compiler Error CS0191 โ€“ Property or indexer โ€˜nameโ€™ cannot be assigned to โ€” it is read only Reason for...
C# Compiler Error CS0179 โ€“ โ€˜memberโ€™ cannot be extern and declare a body Reason for the Error You will receive...
C# Compiler Error CS0575 โ€“ Only class types can contain destructors Reason for the Error You will get this error...
There are times when you want to get the attributes of the enum values from your C# code for some...
C# Error CS1521 โ€“ Invalid base type Reason for the Error & Solution Invalid base type A class specification was...
C# Error CS1013 โ€“ Invalid number Reason for the Error & Solution Invalid number The compiler detected a malformed number....
C# Error CS1929 โ€“ โ€˜{0}โ€™ does not contain a definition for โ€˜{1}โ€™ and the best extension method overload โ€˜{2}โ€™ requires...
C# Error CS1004 โ€“ Duplicate โ€˜{0}โ€™ modifier Reason for the Error & Solution Duplicate โ€˜modifierโ€™ modifier A duplicate modifier, such...
C# Error CS8515 โ€“ Parentheses are required around the switch governing expression. Reason for the Error & Solution Parentheses are...
In this example, weโ€™ll create a simple C# program to determine the largest of two given numbers, demonstrating basic comparison...
C# Error CS0648 โ€“ โ€˜{0}โ€™ is a type not supported by the language Reason for the Error & Solution โ€˜typeโ€™...
C# Error CS0592 โ€“ Attribute โ€˜{0}โ€™ is not valid on this declaration type. It is only valid on โ€˜{1}โ€™ declarations....
C# Error CS1945 โ€“ An expression tree may not contain an anonymous method expression Reason for the Error & Solution...
Today , when I was working with the Open Office XML 2.0 SDK and adding the reference to the DocumentFormat.OpenXML...
There are times when you might want to get the current application directory with the complete path. You can use...