Category: C#

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…

C# Compiler Error – CS0310 ‘{2}’ must be a non-abstract type with a

In this blog post, you’ll learn more about the C# Compiler Error – CS0310 and the related message description C# Compiler Error Code CS0310 C# Compiler Description for the Code :CS0310 ‘{2}’ must be a non-abstract type with a public parameterless constructor in order to use it as parameter ‘{1}’ in the generic type or method ‘{0}’

How to sort an array using Comparator in C# ?

The Array.Sort method lets the developers pass the comparator which can be used to sort an array of objects. How to sort an array using Comparator in C# ? In the below example , the method CompareByName is used which lets the Array.Sort method to sort the array of objects in descending order.