Category: C#

List of All C# Compiler Errors in Visual Studio

In this post, you’ll see the list of all the C# compiler errors. When you compile your C# application and receive an error or warning in Visual Studio, thesemight be one of the below from the list of C# error. Code Severity Message CS0006 Error Metadata file ‘{0}’ could not be found CS0009 Fatal Metadata file ‘{0}’ could not be opened — {1} CS0012 Error…

C# Compiler Error – CS1703 multiple assemblies with equivalent iden

In this blog post, you’ll learn more about the C# Compiler Error – CS1703 and the related message description C# Compiler Error Code CS1703 C# Compiler Description for the Code :CS1703 Multiple assemblies with equivalent identity have been imported: ‘{0}’ and ‘{1}’. Remove one of the duplicate references.

C# Compiler Error – CS8411 asynchronous foreach statement cannot op

In this blog post, you’ll learn more about the C# Compiler Error – CS8411 and the related message description C# Compiler Error Code CS8411 C# Compiler Description for the Code :CS8411 Asynchronous foreach statement cannot operate on variables of type ‘{0}’ because ‘{0}’ does not contain a suitable public instance or extension definition for ‘{1}’

How to Launch the Application Details Page in Windows Phone Store using C#?

The Windows Phone 8 SDK provides the MarketplaceDetailTask which lets the users to launch the specified application’s details page in the Windows Phone Store from the Windows Phone App. How to Launch the Application Details Page in Windows Phone Store using C#? Below is a sample code snippet that demonstrates how to use the MarketplaceDetailTask. Modify the Content Identifier to specify the app for which…

How to check the Equality of Anonymous Types in C#?

The Equals method is used to check the equality. The anonymous types will be equal of it has the same order, type, name and values. How to check the Equality of Anonymous Types in C#? Below is a sample sourcecode demonstrating how to check the Equality of Anonymous types in c#.