Category: C#

C# Compiler Error – CS0314 the type ‘{3}’ cannot be used as type pa

In this blog post, you’ll learn more about the C# Compiler Error – CS0314 and the related message description C# Compiler Error Code CS0314 C# Compiler Description for the Code :CS0314 The type ‘{3}’ cannot be used as type parameter ‘{2}’ in the generic type or method ‘{0}’. There is no boxing conversion or type parameter conversion from ‘{3}’ to ‘{1}’.

C# Compiler Error – CS8704 ‘{0}’ does not implement interface membe

In this blog post, you’ll learn more about the C# Compiler Error – CS8704 and the related message description C# Compiler Error Code CS8704 C# Compiler Description for the Code :CS8704 ‘{0}’ does not implement interface member ‘{1}’. ‘{2}’ cannot implicitly implement a non-public member in C# {3}. Please use language version ‘{4}’ or greater.

Rules for using Anonymous Types in C#

The anonymous types (var) in C# is an interesting feature that the C# developers could use within their .NET application . When using the anonymous type , there are certain criteria or rules that needs to be followed . Rules for using Anonymous Types in C# Below are some of the rules that the developers should be following when using the anonymous type. 1. NULL…