Category: C#
C# Compiler Error – CS8780 a variable may not be declared within a
In this blog post, you’ll learn more about the C# Compiler Error – CS8780 and the related message description C# Compiler Error Code CS8780 C# Compiler Description for the Code :CS8780 A variable may not be declared within a ‘not’ or ‘or’ pattern.
Json.NET & VB.NET – Installing Json.NET for VB.NET projects in Visual Studio 2015
This series of blog posts will cover how to integrate Json.NET library in your VB.NET projects. In the first blog post , we will explore what is Json.NET and how to install it in Microsoft Visual Studio 2015. Json.NET is one of the popular high performance and open source JSON framework for the .NET Developers. It lets the developers to serialize and deserialize .NET objects…
C# – How to Call the base constructor ?
In C#, You can call the base constructor using the base keyword as shown below. How to Call the base constructor in C# ?
C# Compiler Error – CS8150 by-value returns may only be used in met
In this blog post, you’ll learn more about the C# Compiler Error – CS8150 and the related message description C# Compiler Error Code CS8150 C# Compiler Description for the Code :CS8150 By-value returns may only be used in methods that return by value
C# Compiler Error – CS8658 auto-implemented ‘set’ accessor ‘{0}’ ca
In this blog post, you’ll learn more about the C# Compiler Error – CS8658 and the related message description C# Compiler Error Code CS8658 C# Compiler Description for the Code :CS8658 Auto-implemented ‘set’ accessor ‘{0}’ cannot be marked ‘readonly’.
C# Compiler Error – CS4008 cannot await ‘void’
In this blog post, you’ll learn more about the C# Compiler Error – CS4008 and the related message description C# Compiler Error Code CS4008 C# Compiler Description for the Code :CS4008 Cannot await ‘void’
C# Compiler Error – CS0073 an add or remove accessor must have a bo
In this blog post, you’ll learn more about the C# Compiler Error – CS0073 and the related message description C# Compiler Error Code CS0073 C# Compiler Description for the Code :CS0073 An add or remove accessor must have a body
C# Compiler Error – CS1604 cannot assign to ‘{0}’ because it is rea
In this blog post, you’ll learn more about the C# Compiler Error – CS1604 and the related message description C# Compiler Error Code CS1604 C# Compiler Description for the Code :CS1604 Cannot assign to ‘{0}’ because it is read-only
C# Compiler Error – CS0106 the modifier ‘{0}’ is not valid for this
In this blog post, you’ll learn more about the C# Compiler Error – CS0106 and the related message description C# Compiler Error Code CS0106 C# Compiler Description for the Code :CS0106 The modifier ‘{0}’ is not valid for this item
C# Compiler Error – CS0735 invalid type specified as an argument fo
In this blog post, you’ll learn more about the C# Compiler Error – CS0735 and the related message description C# Compiler Error Code CS0735 C# Compiler Description for the Code :CS0735 Invalid type specified as an argument for TypeForwardedTo attribute
C# Compiler Error – CS0617 ‘{0}’ is not a valid named attribute arg
In this blog post, you’ll learn more about the C# Compiler Error – CS0617 and the related message description C# Compiler Error Code CS0617 C# Compiler Description for the Code :CS0617 ‘{0}’ is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, or const, or read-write properties which are public and not static.
C# Compiler Error – CS8657 static member ‘{0}’ cannot be marked ‘re
In this blog post, you’ll learn more about the C# Compiler Error – CS8657 and the related message description C# Compiler Error Code CS8657 C# Compiler Description for the Code :CS8657 Static member ‘{0}’ cannot be marked ‘readonly’.