Category: C#
How to Concatenate Array of Integers to a String in C# ?
Below is a sample code snippet demonstrating how to concatenate array of integers to a string in c#. How to Concatenate Array of Integers to a String in C# ?
C# Compiler Warning – CS0251 indexing an array with a negative index
In this blog post, you’ll learn more about the C# Compiler Warning – CS0251 and the related message description C# Compiler Warning Code CS0251 C# Compiler Description for the Code :CS0251 Indexing an array with a negative index (array indices always start at zero)
How to Create Extension Method in C# ?
Extension methods are great way to add a method to an existing type . A typical scenario is when you dont have the access to the sourcecode and want to add a method to the type . How to Create Extension Method in C# ? Below is a sample code snippet that demonstrates how to create an extension method for the integer type to tell…
C# Compiler Warning – CS8777 parameter ‘{0}’ must have a non-null val
In this blog post, you’ll learn more about the C# Compiler Warning – CS8777 and the related message description C# Compiler Warning Code CS8777 C# Compiler Description for the Code :CS8777 Parameter ‘{0}’ must have a non-null value when exiting.
C# Compiler Error – CS1748 cannot find the interop type that matche
In this blog post, you’ll learn more about the C# Compiler Error – CS1748 and the related message description C# Compiler Error Code CS1748 C# Compiler Description for the Code :CS1748 Cannot find the interop type that matches the embedded interop type ‘{0}’. Are you missing an assembly reference?
C# Compiler Error – CS1656 cannot assign to ‘{0}’ because it is a ‘
In this blog post, you’ll learn more about the C# Compiler Error – CS1656 and the related message description C# Compiler Error Code CS1656 C# Compiler Description for the Code :CS1656 Cannot assign to ‘{0}’ because it is a ‘{1}’
C# Compiler Error – CS1768 type ‘{0}’ cannot be embedded because it
In this blog post, you’ll learn more about the C# Compiler Error – CS1768 and the related message description C# Compiler Error Code CS1768 C# Compiler Description for the Code :CS1768 Type ‘{0}’ cannot be embedded because it has a generic argument. Consider setting the ‘Embed Interop Types’ property to false.
C# Compiler Error – CS0128 a local variable or function named ‘{0}’
In this blog post, you’ll learn more about the C# Compiler Error – CS0128 and the related message description C# Compiler Error Code CS0128 C# Compiler Description for the Code :CS0128 A local variable or function named ‘{0}’ is already defined in this scope
C# Compiler Error – CS8757 no overload for ‘{0}’ matches function p
In this blog post, you’ll learn more about the C# Compiler Error – CS8757 and the related message description C# Compiler Error Code CS8757 C# Compiler Description for the Code :CS8757 No overload for ‘{0}’ matches function pointer ‘{1}’
C# Compiler Error – CS1003 syntax error, ‘{0}’ expected
In this blog post, you’ll learn more about the C# Compiler Error – CS1003 and the related message description C# Compiler Error Code CS1003 C# Compiler Description for the Code :CS1003 Syntax error, ‘{0}’ expected
C# Compiler Error – CS0831 an expression tree may not contain a bas
In this blog post, you’ll learn more about the C# Compiler Error – CS0831 and the related message description C# Compiler Error Code CS0831 C# Compiler Description for the Code :CS0831 An expression tree may not contain a base access
C# Compiler Error – CS1642 fixed size buffer fields may only be mem
In this blog post, you’ll learn more about the C# Compiler Error – CS1642 and the related message description C# Compiler Error Code CS1642 C# Compiler Description for the Code :CS1642 Fixed size buffer fields may only be members of structs