HomeCSharpPage 6

CSharp

Showing 101 - 120 of 961 results
C# 6.0 supports a new features called Exception filter that lets the developers to catch the specified exception only if...
C# Error CS8400 โ€“ Feature โ€˜{0}โ€™ is not available in C# 8.0. Please use language version {1} or greater. Reason...
This post will explain what exactly is Implicit Method Group Conversion and how to use them in your C# application....
C# Error CS1555 โ€“ Could not find โ€˜{0}โ€™ specified for Main method Reason for the Error & Solution Could not...
C# Error CS8167 โ€“ Cannot return by reference a member of parameter โ€˜{0}โ€™ because it is not a ref or...
C# Error CS0653 โ€“ Cannot apply attribute class โ€˜{0}โ€™ because it is abstract Reason for the Error & Solution Cannot...
C# Error CS2016 โ€“ Code page โ€˜{0}โ€™ is invalid or not installed Reason for the Error & Solution Code page...
C# Error CS1525 โ€“ Invalid expression term โ€˜{0}โ€™ Reason for the Error & Solution Invalid expression term โ€˜characterโ€™ The compiler...
In this example, weโ€™ll create a C# program to calculate and display the factorial of a given number, showcasing the...
C# Compiler Error CS0243 โ€“ The Conditional attribute is not valid on โ€˜methodโ€™ because it is an override method Reason...
C# Error CS1628 โ€“ Cannot use ref, out, or in parameter โ€˜{0}โ€™ inside an anonymous method, lambda expression, query expression,...
In C# , when you are using an Auto-Implemented Properties , you can use the constructor of the class to...
C# Error CS1618 โ€“ Cannot create delegate with โ€˜{0}โ€™ because it or a method it overrides has a Conditional attribute...
C# Error CS0838 โ€“ An expression tree may not contain a multidimensional array initializer Reason for the Error & Solution...
C# Error CS1932 โ€“ Cannot assign {0} to a range variable Reason for the Error & Solution Cannot assign โ€˜expressionโ€™...
C# Error CS1504 โ€“ Source file โ€˜{0}โ€™ could not be opened โ€” {1} Reason for the Error & Solution Source...
C# Error CS1922 โ€“ Cannot initialize type โ€˜{0}โ€™ with a collection initializer because it does not implement โ€˜System.Collections.IEnumerableโ€™ Reason for...
C# Error CS0835 โ€“ Cannot convert lambda to an expression tree whose type argument โ€˜{0}โ€™ is not a delegate type...
This blog post will provide a simple tip demonstrating how you can implement a truncate function in C# so that...
C# Compiler Error CS0515 โ€“ โ€˜functionโ€™ : access modifiers are not allowed on static constructors Reason for the Error Youโ€™ll...