Category: C#

C# Compiler Error – CS8627 a nullable type parameter must be known

In this blog post, you’ll learn more about the C# Compiler Error – CS8627 and the related message description C# Compiler Error Code CS8627 C# Compiler Description for the Code :CS8627 A nullable type parameter must be known to be a value type or non-nullable reference type unless language version ‘{0}’ or greater is used. Consider changing the language version or adding a ‘class’, ‘struct’,…

C# Compiler Error – CS8650 it is not legal to use nullable referenc

In this blog post, you’ll learn more about the C# Compiler Error – CS8650 and the related message description C# Compiler Error Code CS8650 C# Compiler Description for the Code :CS8650 It is not legal to use nullable reference type ‘{0}?’ in an is-type expression; use the underlying type ‘{0}’ instead.

How to get last four characters from a string in C#?

This post will provide a simple tip showing how you can get the last 4 characters from a string in C#. How to get last four characters from a string in C#? Assume that you have a string that contains the value “CodersEditor.com” and you wish to get .com from the string and display it. Below is a sample code snippet demonstrating how you can…

C# Compiler Error – CS1663 fixed size buffer type must be one of th

In this blog post, you’ll learn more about the C# Compiler Error – CS1663 and the related message description C# Compiler Error Code CS1663 C# Compiler Description for the Code :CS1663 Fixed size buffer type must be one of the following: bool, byte, short, int, long, char, sbyte, ushort, uint, ulong, float or double

How to Prevent the deployment of Windows Phone 8.1 App in SD Card ?

If you want to prevent the user from deploying your Windows Phone 8.1 app in SD Card , you can do it by updating the WMAppManifest.xml file. How to Prevent the deployment of Windows Phone 8.1 App in SD Card ? Follow the below steps to do it. 1. Double Click and open the WMAppManifest.xml . This will open the WMAppManifest.xml in GUI designer.2. Navigate…