Category: C#
How to Create an Interface in C# ?
You might need to few functionalities without defining any implementation of the abstract methods. This should later be applied to various types within your project. In this case , one can create an interface which specifies some behavior rather than what the type or member is all about. How to Create an Interface in C# ? Below is a sample interface called IMusic The interface…
C# Compiler Error – CS8414 foreach statement cannot operate on vari
In this blog post, you’ll learn more about the C# Compiler Error – CS8414 and the related message description C# Compiler Error Code CS8414 C# Compiler Description for the Code :CS8414 foreach statement cannot operate on variables of type ‘{0}’ because ‘{0}’ does not contain a public instance or extension definition for ‘{1}’. Did you mean ‘await foreach’ rather than ‘foreach’?
C# Compiler Error – CS0636 the fieldoffset attribute can only be pl
In this blog post, you’ll learn more about the C# Compiler Error – CS0636 and the related message description C# Compiler Error Code CS0636 C# Compiler Description for the Code :CS0636 The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit)
C# Compiler Error – CS1059 the operand of an increment or decrement
In this blog post, you’ll learn more about the C# Compiler Error – CS1059 and the related message description C# Compiler Error Code CS1059 C# Compiler Description for the Code :CS1059 The operand of an increment or decrement operator must be a variable, property or indexer
C# Compiler Error – CS8099 source file references are not supported
In this blog post, you’ll learn more about the C# Compiler Error – CS8099 and the related message description C# Compiler Error Code CS8099 C# Compiler Description for the Code :CS8099 Source file references are not supported.
C# Compiler Error – CS8642 an expression tree may not contain a nul
In this blog post, you’ll learn more about the C# Compiler Error – CS8642 and the related message description C# Compiler Error Code CS8642 C# Compiler Description for the Code :CS8642 An expression tree may not contain a null coalescing assignment
C# Compiler Error – CS0074 ‘{0}’: abstract event cannot have initia
In this blog post, you’ll learn more about the C# Compiler Error – CS0074 and the related message description C# Compiler Error Code CS0074 C# Compiler Description for the Code :CS0074 ‘{0}’: abstract event cannot have initializer
C# Compiler Error – CS0463 evaluation of the decimal constant expre
In this blog post, you’ll learn more about the C# Compiler Error – CS0463 and the related message description C# Compiler Error Code CS0463 C# Compiler Description for the Code :CS0463 Evaluation of the decimal constant expression failed
C# Compiler Error – CS0513 ‘{0}’ is abstract but it is contained in
In this blog post, you’ll learn more about the C# Compiler Error – CS0513 and the related message description C# Compiler Error Code CS0513 C# Compiler Description for the Code :CS0513 ‘{0}’ is abstract but it is contained in non-abstract type ‘{1}’
C# Compiler Error – CS1534 overloaded binary operator ‘{0}’ takes t
In this blog post, you’ll learn more about the C# Compiler Error – CS1534 and the related message description C# Compiler Error Code CS1534 C# Compiler Description for the Code :CS1534 Overloaded binary operator ‘{0}’ takes two parameters
C# Compiler Warning – CS1573 parameter ‘{0}’ has no matching param ta
In this blog post, you’ll learn more about the C# Compiler Warning – CS1573 and the related message description C# Compiler Warning Code CS1573 C# Compiler Description for the Code :CS1573 Parameter ‘{0}’ has no matching param tag in the XML comment for ‘{1}’ (but other parameters do)
C# Compiler Error – CS8180 { or ; or => expected
In this blog post, you’ll learn more about the C# Compiler Error – CS8180 and the related message description C# Compiler Error Code CS8180 C# Compiler Description for the Code :CS8180 { or ; or => expected