Category: C#
C# Compiler Error – CS0126 an object of a type convertible to ‘{0}’
In this blog post, you’ll learn more about the C# Compiler Error – CS0126 and the related message description C# Compiler Error Code CS0126 C# Compiler Description for the Code :CS0126 An object of a type convertible to ‘{0}’ is required
C# Compiler Error – CS8651 it is not legal to use nullable referenc
In this blog post, you’ll learn more about the C# Compiler Error – CS8651 and the related message description C# Compiler Error Code CS8651 C# Compiler Description for the Code :CS8651 It is not legal to use nullable reference type ‘{0}?’ in an as expression; use the underlying type ‘{0}’ instead.
C# Compiler Error – CS1636 __arglist is not allowed in the paramete
In this blog post, you’ll learn more about the C# Compiler Error – CS1636 and the related message description C# Compiler Error Code CS1636 C# Compiler Description for the Code :CS1636 __arglist is not allowed in the parameter list of iterators
C# Compiler Error – CS8312 use of default literal is not valid in t
In this blog post, you’ll learn more about the C# Compiler Error – CS8312 and the related message description C# Compiler Error Code CS8312 C# Compiler Description for the Code :CS8312 Use of default literal is not valid in this context
Application Tab in the Package Manifest file in Universal App
The Application tab in the package manifest file in the universal app lets the developers to set some of the application related information like name , description , default language etc. You can even restrict the preferred orientation of your app in this tab by selected one of the below options Landscape Portrait Landscape-flipped Portrait-flipped For a Windows Store App , you could set the…
C# Compiler Error – CS0734 the /moduleassemblyname option may only
In this blog post, you’ll learn more about the C# Compiler Error – CS0734 and the related message description C# Compiler Error Code CS0734 C# Compiler Description for the Code :CS0734 The /moduleassemblyname option may only be specified when building a target type of ‘module’
How to Programatically Send Email with attachments in Windows Phone 8.1 using C# ?
Below is a sample code snippet that demonstrates how to send email with attachments programmatically in Windows Phone 8.1 using C# . How to Programatically Send Email with attachments in Windows Phone 8.1 using C# ?
C# Compiler Error – CS0738 ‘{0}’ does not implement interface membe
In this blog post, you’ll learn more about the C# Compiler Error – CS0738 and the related message description C# Compiler Error Code CS0738 C# Compiler Description for the Code :CS0738 ‘{0}’ does not implement interface member ‘{1}’. ‘{2}’ cannot implement ‘{1}’ because it does not have the matching return type of ‘{3}’.
C# Compiler Error – CS2001 source file ‘{0}’ could not be found.
In this blog post, you’ll learn more about the C# Compiler Error – CS2001 and the related message description C# Compiler Error Code CS2001 C# Compiler Description for the Code :CS2001 Source file ‘{0}’ could not be found.
C# Compiler Error – CS8129 no suitable ‘deconstruct’ instance or ex
In this blog post, you’ll learn more about the C# Compiler Error – CS8129 and the related message description C# Compiler Error Code CS8129 C# Compiler Description for the Code :CS8129 No suitable ‘Deconstruct’ instance or extension method was found for type ‘{0}’, with {1} out parameters and a void return type.
Json.NET & C# – Installing Json.NET for C# projects in Visual Studio 2015
Json.NET is one of the popular high performance and open source JSON framework for the .NET Developers. It lets the developers to serialize and deserialize .NET objects and is considered to be one of the most popular .NET library. The first version of Json.NET was released sometime in June 2006 and now this library is used is most of the popular .NET open source projects…
C# Compiler Warning – CS8768 nullability of reference types in return
In this blog post, you’ll learn more about the C# Compiler Warning – CS8768 and the related message description C# Compiler Warning Code CS8768 C# Compiler Description for the Code :CS8768 Nullability of reference types in return type doesn’t match implemented member ‘{0}’ (possibly because of nullability attributes).
C# Compiler Error – CS0572 ‘{0}’: cannot reference a type through a
In this blog post, you’ll learn more about the C# Compiler Error – CS0572 and the related message description C# Compiler Error Code CS0572 C# Compiler Description for the Code :CS0572 ‘{0}’: cannot reference a type through an expression; try ‘{1}’ instead
C# Compiler Error – CS8374 cannot ref-assign ‘{1}’ to ‘{0}’ because
In this blog post, you’ll learn more about the C# Compiler Error – CS8374 and the related message description C# Compiler Error Code CS8374 C# Compiler Description for the Code :CS8374 Cannot ref-assign ‘{1}’ to ‘{0}’ because ‘{1}’ has a narrower escape scope than ‘{0}’.
C# Compiler Error – CS8666 method ‘{0}’ specifies a ‘struct’ constr
In this blog post, you’ll learn more about the C# Compiler Error – CS8666 and the related message description C# Compiler Error Code CS8666 C# Compiler Description for the Code :CS8666 Method ‘{0}’ specifies a ‘struct’ constraint for type parameter ‘{1}’, but corresponding type parameter ‘{2}’ of overridden or explicitly implemented method ‘{3}’ is not a non-nullable value type.
C# Compiler Error – CS8911 using a function pointer type in a ‘type
In this blog post, you’ll learn more about the C# Compiler Error – CS8911 and the related message description C# Compiler Error Code CS8911 C# Compiler Description for the Code :CS8911 Using a function pointer type in a ‘typeof’ in an attribute is not supported.
C# Compiler Error – CS1529 a using clause must precede all other el
In this blog post, you’ll learn more about the C# Compiler Error – CS1529 and the related message description C# Compiler Error Code CS1529 C# Compiler Description for the Code :CS1529 A using clause must precede all other elements defined in the namespace except extern alias declarations
C# Compiler Error – CS0518 predefined type ‘{0}’ is not defined or
In this blog post, you’ll learn more about the C# Compiler Error – CS0518 and the related message description C# Compiler Error Code CS0518 C# Compiler Description for the Code :CS0518 Predefined type ‘{0}’ is not defined or imported
What is the Difference between String and String Builder in C#?
What is the Difference between String and String Builder in C#? The string instance is immutable i.e. each time when you change the string m a new instance is returned. This can be inefficient sometimes The StringBuilder allows the developers to have a mutable string. This is a good option in case you want to modify / append string many times.
C# Compiler Error – CS1996 cannot await in the body of a lock state
In this blog post, you’ll learn more about the C# Compiler Error – CS1996 and the related message description C# Compiler Error Code CS1996 C# Compiler Description for the Code :CS1996 Cannot await in the body of a lock statement