Content Writing
Blogging
General
Analytics
How To
.NET
ASP.NET
Delphi
Excel
Outlook
Powerpoint
OutSystems
PowerShell
JavaScript
Windows
Courses
Jobs
UK Visa Sponsorship & PSW Jobs
India Freshers Jobs
Tutorials
C Programming
Java
Python
C#
SQL
HTML
PHP
SQL Server
Blog
Tools
What is My IP Address?
Password Generator
Tag:
C# Compiler Errors
C# Error CS0107 – More than one protection modifier
C# Error CS8172 – Cannot initialize a by-reference variable with a value
C# Error CS1686 – Local ‘{0}’ or its members cannot have their address taken and be used inside an anonymous method or lambda expression
C# Error CS0764 – Both partial method declarations must be unsafe or neither may be unsafe
C# Error CS1918 – Members of property ‘{0}’ of type ‘{1}’ cannot be assigned with an object initializer because it is of a value type
C# Error CS4009 – A void or int returning entry point cannot be async
C# Error CS8163 – Fields of static readonly field ‘{0}’ cannot be returned by writable reference
C# Error CS1910 – Argument of type ‘{0}’ is not applicable for the DefaultParameterValue attribute
C# Error CS0669 – A class with the ComImport attribute cannot have a user-defined constructor
C# Error CS0262 – Partial declarations of ‘type’ have conflicting accessibility modifiers
C# Error CS0767 – Cannot inherit interface ‘{0}’ with the specified type parameters because it causes method ‘{1}’ to contain overloads which differ only on ref and out
C# Error CS1040 – Preprocessor directives must appear as the first non-whitespace character on a line
C# Error CS0704 – Cannot do non-virtual member lookup in ‘{0}’ because it is a type parameter
C# Error CS0246 – The type or namespace name ‘type/namespace’ could not be found
C# Error CS0514 – ‘constructor’ : static constructor cannot have an explicit ‘this’ or ‘base’ constructor call
C# Error CS0834 – A lambda expression with a statement body cannot be converted to an expression tree
C# Error CS1662 – Cannot convert {0} to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type
C# Error CS0619 – ‘{0}’ is obsolete: ‘{1}’
C# Error CS0039 – Cannot convert type ‘type1’ to ‘type2’ via a reference conversion, boxing conversion
C# Error CS1950 – The best overloaded Add method ‘{0}’ for the collection initializer has some invalid arguments
1
…
7
8
9
…
35