Category: C#

C# Compiler Error – CS1943 an expression of type ‘{0}’ is not allow

In this blog post, you’ll learn more about the C# Compiler Error – CS1943 and the related message description C# Compiler Error Code CS1943 C# Compiler Description for the Code :CS1943 An expression of type ‘{0}’ is not allowed in a subsequent from clause in a query expression with source type ‘{1}’. Type inference failed in the call to ‘{2}’.

C# Compiler Error – CS1002 ; expected

In this blog post, you’ll learn more about the C# Compiler Error – CS1002 and the related message description C# Compiler Error Code CS1002 C# Compiler Description for the Code :CS1002 ; expected

C# Compiler Error – CS1738 named argument specifications must appea

In this blog post, you’ll learn more about the C# Compiler Error – CS1738 and the related message description C# Compiler Error Code CS1738 C# Compiler Description for the Code :CS1738 Named argument specifications must appear after all fixed arguments have been specified. Please use language version {0} or greater to allow non-trailing named arguments.

How to Combine URL in C#?

The .NET Framework includes the Path.Combine feature which can be used to combine the strings into a path. How about having the same functionality to combine URL? How to Combine URL in C#? This is where the Uri class comes handy. The Uri class includes the constructor which can be used to combine URL. For example, if I need to combine “http://www.abundantcode.com” and “blogs/article1.html”, I…

C# Compiler Warning – CS1956 member ‘{0}’ implements interface member

In this blog post, you’ll learn more about the C# Compiler Warning – CS1956 and the related message description C# Compiler Warning Code CS1956 C# Compiler Description for the Code :CS1956 Member ‘{0}’ implements interface member ‘{1}’ in type ‘{2}’. There are multiple matches for the interface member at run-time. It is implementation dependent which method will be called.