HomeCSharpPage 47

CSharp

Showing 921 - 940 of 961 results
C# Error CS1509 โ€“ The referenced file โ€˜{0}โ€™ is not an assembly Reason for the Error & Solution Referenced file...
C# Compiler Error CS0316 โ€“ The parameter name โ€˜nameโ€™ conflicts with an automatically-generated parameter name. Reason for the Error Youโ€™ll...
C# Error CS1564 โ€“ Conflicting options specified: Win32 resource file; Win32 manifest Reason for the Error & Solution Conflicting options...
C# Error CS1716 โ€“ Do not use โ€˜System.Runtime.CompilerServices.FixedBufferโ€™ attribute. Use the โ€˜fixedโ€™ field modifier instead. Reason for the Error &...
C# Compiler Error CS0525 โ€“ Interfaces cannot contain fields Reason for the Error Youโ€™ll get this error in your C#...
C# Error CS1667 โ€“ Attribute โ€˜{0}โ€™ is not valid on property or event accessors. It is only valid on โ€˜{1}โ€™...
C# Error CS1579 โ€“ foreach statement cannot operate on variables of type โ€˜{0}โ€™ because โ€˜{0}โ€™ does not contain a public...
Want to rename a file using .NET Framework and C# ? , below is a sample code snippet that illustrates...
C# Error CS1946 โ€“ An anonymous method expression cannot be converted to an expression tree Reason for the Error &...
Everwondered how you can use a ternary operator with-in a string interpolation in C#?. This simple tip shows you how...
C# Error CS1558 โ€“ โ€˜{0}โ€™ does not have a suitable static โ€˜Mainโ€™ method Reason for the Error & Solution โ€˜classโ€™...
C# Error CS1688 โ€“ Cannot convert anonymous method block without a parameter list to delegate type โ€˜{0}โ€™ because it has...
C# Error CS1725 โ€“ Friend assembly reference โ€˜{0}โ€™ is invalid. InternalsVisibleTo declarations cannot have a version, culture, public key token,...
If you require to compute exponential values like finding the square of the number etc , the Math.Pow method in...
C# Error CS1997 โ€“ Since โ€˜{0}โ€™ is an async method that returns โ€˜Taskโ€™, a return keyword must not be followed...
In this task, we will write a C# program to find the average of all the elements in an array....
C# Compiler Error CS0198 โ€“ Fields of static readonly field โ€˜nameโ€™ cannot be assigned to (except in a static constructor...
C# Compiler Error CS0128 โ€“ A local variable named โ€˜variableโ€™ is already defined in this scope Reason for the Error...
C# Error CS1065 โ€“ Default values are not valid in this context. Reason for the Error & Solution Default values...
C# Error CS0756 โ€“ A partial method may not have multiple defining declarations Reason for the Error & Solution A...