Category: C#
C# Compiler Error – CS1929 ‘{0}’ does not contain a definition for
In this blog post, you’ll learn more about the C# Compiler Error – CS1929 and the related message description C# Compiler Error Code CS1929 C# Compiler Description for the Code :CS1929 ‘{0}’ does not contain a definition for ‘{1}’ and the best extension method overload ‘{2}’ requires a receiver of type ‘{3}’
C# Compiler Error – CS8162 members of readonly field ‘{0}’ cannot b
In this blog post, you’ll learn more about the C# Compiler Error – CS8162 and the related message description C# Compiler Error Code CS8162 C# Compiler Description for the Code :CS8162 Members of readonly field ‘{0}’ cannot be returned by writable reference
C# Compiler Error – CS8817 both partial method declarations must ha
In this blog post, you’ll learn more about the C# Compiler Error – CS8817 and the related message description C# Compiler Error Code CS8817 C# Compiler Description for the Code :CS8817 Both partial method declarations must have the same return type.
C# Program – Multiline string literal in C#
If you are looking at an easy way to create a multiline string literal in C#, then you use the verbatim string literal as shown in the below code snippet. C# Program – Multiline string literal in C# Using the verbatim stting ensures that it allows multiple lunes and also you donot need to have any escape special characters (except for double quotes).
C# Compiler Error – CS1660 cannot convert {0} to type ‘{1}’ because
In this blog post, you’ll learn more about the C# Compiler Error – CS1660 and the related message description C# Compiler Error Code CS1660 C# Compiler Description for the Code :CS1660 Cannot convert {0} to type ‘{1}’ because it is not a delegate type
C# Compiler Error – CS1542 ‘{0}’ cannot be added to this assembly b
In this blog post, you’ll learn more about the C# Compiler Error – CS1542 and the related message description C# Compiler Error Code CS1542 C# Compiler Description for the Code :CS1542 ‘{0}’ cannot be added to this assembly because it already is an assembly
C# Compiler Error – CS1997 since ‘{0}’ is an async method that retu
In this blog post, you’ll learn more about the C# Compiler Error – CS1997 and the related message description C# Compiler Error Code CS1997 C# Compiler Description for the Code :CS1997 Since ‘{0}’ is an async method that returns ‘Task’, a return keyword must not be followed by an object expression. Did you intend to return ‘Task’?
C# Compiler Error – CS8101 the pathmap option was incorrectly forma
In this blog post, you’ll learn more about the C# Compiler Error – CS8101 and the related message description C# Compiler Error Code CS8101 C# Compiler Description for the Code :CS8101 The pathmap option was incorrectly formatted.
C# Compiler Error – CS0061 inconsistent accessibility: base interfa
In this blog post, you’ll learn more about the C# Compiler Error – CS0061 and the related message description C# Compiler Error Code CS0061 C# Compiler Description for the Code :CS0061 Inconsistent accessibility: base interface ‘{1}’ is less accessible than interface ‘{0}’
C# Compiler Warning – CS7033 delay signing was specified and requires
In this blog post, you’ll learn more about the C# Compiler Warning – CS7033 and the related message description C# Compiler Warning Code CS7033 C# Compiler Description for the Code :CS7033 Delay signing was specified and requires a public key, but no public key was specified
C# Compiler Error – CS0541 ‘{0}’: explicit interface declaration ca
In this blog post, you’ll learn more about the C# Compiler Error – CS0541 and the related message description C# Compiler Error Code CS0541 C# Compiler Description for the Code :CS0541 ‘{0}’: explicit interface declaration can only be declared in a class, record, struct or interface
How to Use Split Function in VB.NET?
The Split function in VB.NET (Visual Basic.NET) lets the developers to split the string based on the delimiter and return one – dimensional array that contains the substring. How to Use Split Function in VB.NET? Below is a sample code snippet that demonstrates how to use the Split function in VB.NET. Output of Split Function