Category: C#

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 – 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}’.

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 – 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.

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.