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