Category: C#
C# Compiler Error – CS2035 command-line syntax error: missing ‘:’ f
In this blog post, you’ll learn more about the C# Compiler Error – CS2035 and the related message description C# Compiler Error Code CS2035 C# Compiler Description for the Code :CS2035 Command-line syntax error: Missing ‘:’ for ‘{0}’ option
How to rethrow InnnerException without losing Stack Trace in C# ?
Microsoft .NET Framework 4.5 introduced the ExceptionDispatchInfo class which lets the developers to capture an exception and rethrow it without losing the stack trace. How to rethrow InnnerException without losing Stack Trace in C# ? Below is a sample code snippet demonstrating the usage of this class.
C# Compiler Error – CS7047 attribute parameter ‘{0}’ or ‘{1}’ must
In this blog post, you’ll learn more about the C# Compiler Error – CS7047 and the related message description C# Compiler Error Code CS7047 C# Compiler Description for the Code :CS7047 Attribute parameter ‘{0}’ or ‘{1}’ must be specified.
C# Compiler Error – CS8640 expression tree cannot contain value of
In this blog post, you’ll learn more about the C# Compiler Error – CS8640 and the related message description C# Compiler Error Code CS8640 C# Compiler Description for the Code :CS8640 Expression tree cannot contain value of ref struct or restricted type ‘{0}’.
C# Compiler Error – CS8876 ‘{0}’ does not override expected propert
In this blog post, you’ll learn more about the C# Compiler Error – CS8876 and the related message description C# Compiler Error Code CS8876 C# Compiler Description for the Code :CS8876 ‘{0}’ does not override expected property from ‘{1}’.
C# Compiler Error – CS0703 inconsistent accessibility: constraint t
In this blog post, you’ll learn more about the C# Compiler Error – CS0703 and the related message description C# Compiler Error Code CS0703 C# Compiler Description for the Code :CS0703 Inconsistent accessibility: constraint type ‘{1}’ is less accessible than ‘{0}’
C# Compiler Error – CS1984 cannot await in the body of a finally cl
In this blog post, you’ll learn more about the C# Compiler Error – CS1984 and the related message description C# Compiler Error Code CS1984 C# Compiler Description for the Code :CS1984 Cannot await in the body of a finally clause
C# Compiler Error – CS0178 invalid rank specifier: expected ‘,’ or
In this blog post, you’ll learn more about the C# Compiler Error – CS0178 and the related message description C# Compiler Error Code CS0178 C# Compiler Description for the Code :CS0178 Invalid rank specifier: expected ‘,’ or ‘]’
C# Compiler Error – CS8900 module initializer cannot be attributed
In this blog post, you’ll learn more about the C# Compiler Error – CS8900 and the related message description C# Compiler Error Code CS8900 C# Compiler Description for the Code :CS8900 Module initializer cannot be attributed with ‘UnmanagedCallersOnly’.
Can you run a Windows 10 Universal Apps on Windows 8.1 ?
This is one of the frequently asked question by most of the developers who are new to Windows 10 App development. Can you run a Windows 10 Universal Apps on Windows 8.1 ? In simple words , NO. The other way around i.e building Windows Phone 8.1 and Windows 8.1 Universal App will ensure that your app will run fine on both Windows 8.1 and…
C# Compiler Error – CS0181 attribute constructor parameter ‘{0}’ ha
In this blog post, you’ll learn more about the C# Compiler Error – CS0181 and the related message description C# Compiler Error Code CS0181 C# Compiler Description for the Code :CS0181 Attribute constructor parameter ‘{0}’ has type ‘{1}’, which is not a valid attribute parameter type
C# Compiler Error – CS1913 member ‘{0}’ cannot be initialized. it i
In this blog post, you’ll learn more about the C# Compiler Error – CS1913 and the related message description C# Compiler Error Code CS1913 C# Compiler Description for the Code :CS1913 Member ‘{0}’ cannot be initialized. It is not a field or property.