Category: C#
What is the Difference between Readonly and Const in C# ?
If you want to have a field whose value cannot be changed at runtime , you can use either const or readonly keyword . What is the Difference between ReadOnly and Const in C# ? The constant fields must be defined when declaring and cannot be changed at runtime . It is a implicitly static . The read only field can be set when declaring…
C# Compiler Error – CS0406 the class type constraint ‘{0}’ must com
In this blog post, you’ll learn more about the C# Compiler Error – CS0406 and the related message description C# Compiler Error Code CS0406 C# Compiler Description for the Code :CS0406 The class type constraint ‘{0}’ must come before any other constraints
C# Compiler Warning – CS1697 different checksum values given for ‘{0}
In this blog post, you’ll learn more about the C# Compiler Warning – CS1697 and the related message description C# Compiler Warning Code CS1697 C# Compiler Description for the Code :CS1697 Different checksum values given for ‘{0}’
C# Compiler Error – CS2015 ‘{0}’ is a binary file instead of a text
In this blog post, you’ll learn more about the C# Compiler Error – CS2015 and the related message description C# Compiler Error Code CS2015 C# Compiler Description for the Code :CS2015 ‘{0}’ is a binary file instead of a text file
C# Compiler Error – CS8093 extension method groups are not allowed
In this blog post, you’ll learn more about the C# Compiler Error – CS8093 and the related message description C# Compiler Error Code CS8093 C# Compiler Description for the Code :CS8093 Extension method groups are not allowed as an argument to ‘nameof’.
C# Compiler Warning – CS7080 the callermembernameattribute applied to
In this blog post, you’ll learn more about the C# Compiler Warning – CS7080 and the related message description C# Compiler Warning Code CS7080 C# Compiler Description for the Code :CS7080 The CallerMemberNameAttribute applied to parameter ‘{0}’ will have no effect. It is overridden by the CallerFilePathAttribute.
C# Compiler Error – CS8116 it is not legal to use nullable type ‘{0
In this blog post, you’ll learn more about the C# Compiler Error – CS8116 and the related message description C# Compiler Error Code CS8116 C# Compiler Description for the Code :CS8116 It is not legal to use nullable type ‘{0}?’ in a pattern; use the underlying type ‘{0}’ instead.
C# Compiler Error – CS0426 the type name ‘{0}’ does not exist in th
In this blog post, you’ll learn more about the C# Compiler Error – CS0426 and the related message description C# Compiler Error Code CS0426 C# Compiler Description for the Code :CS0426 The type name ‘{0}’ does not exist in the type ‘{1}’
C# Compiler Error – CS1947 range variable ‘{0}’ cannot be assigned
In this blog post, you’ll learn more about the C# Compiler Error – CS1947 and the related message description C# Compiler Error Code CS1947 C# Compiler Description for the Code :CS1947 Range variable ‘{0}’ cannot be assigned to — it is read only
C# Compiler Error – CS0500 ‘{0}’ cannot declare a body because it i
In this blog post, you’ll learn more about the C# Compiler Error – CS0500 and the related message description C# Compiler Error Code CS0500 C# Compiler Description for the Code :CS0500 ‘{0}’ cannot declare a body because it is marked abstract
C# Compiler Error – CS2036 the /pdb option requires that the /debug
In this blog post, you’ll learn more about the C# Compiler Error – CS2036 and the related message description C# Compiler Error Code CS2036 C# Compiler Description for the Code :CS2036 The /pdb option requires that the /debug option also be used
C# Compiler Error – CS4018 callerfilepathattribute cannot be applie
In this blog post, you’ll learn more about the C# Compiler Error – CS4018 and the related message description C# Compiler Error Code CS4018 C# Compiler Description for the Code :CS4018 CallerFilePathAttribute cannot be applied because there are no standard conversions from type ‘{0}’ to type ‘{1}’