Category: C#
C# Compiler Error – CS8891 type ‘{0}’ must be public to be used as
In this blog post, you’ll learn more about the C# Compiler Error – CS8891 and the related message description C# Compiler Error Code CS8891 C# Compiler Description for the Code :CS8891 Type ‘{0}’ must be public to be used as a calling convention.
C# Compiler Error – CS0616 ‘{0}’ is not an attribute class
In this blog post, you’ll learn more about the C# Compiler Error – CS0616 and the related message description C# Compiler Error Code CS0616 C# Compiler Description for the Code :CS0616 ‘{0}’ is not an attribute class
C# Compiler Error – CS2006 command-line syntax error: missing ‘{0}’
In this blog post, you’ll learn more about the C# Compiler Error – CS2006 and the related message description C# Compiler Error Code CS2006 C# Compiler Description for the Code :CS2006 Command-line syntax error: Missing ‘{0}’ for ‘{1}’ option
C# Compiler Error – CS0717 ‘{0}’: static classes cannot be used as
In this blog post, you’ll learn more about the C# Compiler Error – CS0717 and the related message description C# Compiler Error Code CS0717 C# Compiler Description for the Code :CS0717 ‘{0}’: static classes cannot be used as constraints
How to send email in Windows Phone 8 Application Programatically using C#?
The Windows Phone 8 SDK provides the EmailComposeTask which can be used to send email in Windows Phone 8 Programatically. The EmailComposeTask launches the Email Compose screen which lets the user to verify the email content and tap on the “send” button to send email. How to send email in Windows Phone 8 Application Programatically using C#? Below is a sample code snippet that demonstrates…
C# Compiler Error – CS8660 cannot specify ‘readonly’ modifiers on b
In this blog post, you’ll learn more about the C# Compiler Error – CS8660 and the related message description C# Compiler Error Code CS8660 C# Compiler Description for the Code :CS8660 Cannot specify ‘readonly’ modifiers on both property or indexer ‘{0}’ and its accessor. Remove one of them.
C# Compiler Error – CS8899 application entry points cannot be attri
In this blog post, you’ll learn more about the C# Compiler Error – CS8899 and the related message description C# Compiler Error Code CS8899 C# Compiler Description for the Code :CS8899 Application entry points cannot be attributed with ‘UnmanagedCallersOnly’.
How to merge two lists using LINQ’s Union in C#?
Below is a sample code snippet demonstrating in simple steps on how to merge two lists using LINQ’s Union extension method in C#? How to merge two lists using LINQ’s Union in C#?
C# Compiler Error – CS1008 type byte, sbyte, short, ushort, int, ui
In this blog post, you’ll learn more about the C# Compiler Error – CS1008 and the related message description C# Compiler Error Code CS1008 C# Compiler Description for the Code :CS1008 Type byte, sbyte, short, ushort, int, uint, long, or ulong expected
C# Compiler Error – CS8204 for type ‘{0}’ to be used as an asyncmet
In this blog post, you’ll learn more about the C# Compiler Error – CS8204 and the related message description C# Compiler Error Code CS8204 C# Compiler Description for the Code :CS8204 For type ‘{0}’ to be used as an AsyncMethodBuilder for type ‘{1}’, its Task property should return type ‘{1}’ instead of type ‘{2}’.
C# Compiler Warning – CS8784 generator ‘{0}’ failed to initialize. it
In this blog post, you’ll learn more about the C# Compiler Warning – CS8784 and the related message description C# Compiler Warning Code CS8784 C# Compiler Description for the Code :CS8784 Generator ‘{0}’ failed to initialize. It will not contribute to the output and compilation errors may occur as a result. Exception was of type ‘{1}’ with message ‘{2}’
C# Compiler Error – CS0316 the parameter name ‘{0}’ conflicts with
In this blog post, you’ll learn more about the C# Compiler Error – CS0316 and the related message description C# Compiler Error Code CS0316 C# Compiler Description for the Code :CS0316 The parameter name ‘{0}’ conflicts with an automatically-generated parameter name