Category: C#
C# Compiler Error – CS1503 argument {0}: cannot convert from ‘{1}’
In this blog post, you’ll learn more about the C# Compiler Error – CS1503 and the related message description C# Compiler Error Code CS1503 C# Compiler Description for the Code :CS1503 Argument {0}: cannot convert from ‘{1}’ to ‘{2}’
How to check if List is Empty using LINQ in C#?
Below is a sample source code demonstrating the usage Any () and Count () to check if the list is empty in LINQ. How to check if List is Empty using LINQ in C#?
C# Compiler Error – CS8199 the syntax ‘var (…)’ as an lvalue is res
In this blog post, you’ll learn more about the C# Compiler Error – CS8199 and the related message description C# Compiler Error Code CS8199 C# Compiler Description for the Code :CS8199 The syntax ‘var (…)’ as an lvalue is reserved.
C# Compiler Error – CS8888 ‘managed’ calling convention cannot be c
In this blog post, you’ll learn more about the C# Compiler Error – CS8888 and the related message description C# Compiler Error Code CS8888 C# Compiler Description for the Code :CS8888 ‘managed’ calling convention cannot be combined with unmanaged calling convention specifiers.
C# Compiler Error – CS1578 quoted file name, single-line comment or
In this blog post, you’ll learn more about the C# Compiler Error – CS1578 and the related message description C# Compiler Error Code CS1578 C# Compiler Description for the Code :CS1578 Quoted file name, single-line comment or end-of-line expected
C# Compiler Error – CS8077 a single-line comment may not be used in
In this blog post, you’ll learn more about the C# Compiler Error – CS8077 and the related message description C# Compiler Error Code CS8077 C# Compiler Description for the Code :CS8077 A single-line comment may not be used in an interpolated string.
How to Send e-mail via SMTP using C# ?
Here’s a sample code to send email via SMTP using C#. How to Send e-mail via SMTP using C# ?
C# Compiler Error – CS1023 embedded statement cannot be a declarati
In this blog post, you’ll learn more about the C# Compiler Error – CS1023 and the related message description C# Compiler Error Code CS1023 C# Compiler Description for the Code :CS1023 Embedded statement cannot be a declaration or labeled statement
C# Compiler Error – CS1672 invalid option ‘{0}’ for /platform; must
In this blog post, you’ll learn more about the C# Compiler Error – CS1672 and the related message description C# Compiler Error Code CS1672 C# Compiler Description for the Code :CS1672 Invalid option ‘{0}’ for /platform; must be anycpu, x86, Itanium, arm, arm64 or x64
C# Compiler Error – CS0053 inconsistent accessibility: property typ
In this blog post, you’ll learn more about the C# Compiler Error – CS0053 and the related message description C# Compiler Error Code CS0053 C# Compiler Description for the Code :CS0053 Inconsistent accessibility: property type ‘{1}’ is less accessible than property ‘{0}’
How to Update Map in Windows Phone 8 Programatically using C#?
The Windows Phone 8 SDK provides the MapUpdaterTask which lets the users to update the region map downloaded earlier which can be used for offline usage. This will launch the Map Settings App which lets the users about the updates to the map (if available). How to Update Map in Windows Phone 8 Programatically using C#? Below is a sample code snippet demonstrating how the…
C# Compiler Warning – CS1690 accessing a member on ‘{0}’ may cause a
In this blog post, you’ll learn more about the C# Compiler Warning – CS1690 and the related message description C# Compiler Warning Code CS1690 C# Compiler Description for the Code :CS1690 Accessing a member on ‘{0}’ may cause a runtime exception because it is a field of a marshal-by-reference class