Category: C#

How to embed Quotes in a String in C# ?

You can embed Quotes within a string in C# by using the escape sequence character . Just prefix the quotes with a back slash (\). How to embed Quotes in a String in C# ? Below is a sample sourcecode demonstrating How to embed Quotes in a String in C# ?

How to Enable or Disable the Large Tiles Support in your Windows Phone App?

The Windows Phone 8 SDK allows the developers to support 3 different sizes of Tiles in your Windows Phone app. These include small, medium and large. When developing an App, by default the TemplateFlip is selected and the default images are included in the project for the small and medium tiles. You can modify it to include your own images for the tiles. How to…

How to use array Rank in C# ?

In C# , the Rank property of the array is is used to get the rank of the array. In simple terms , rank refers to the number of dimensions of the array. How to use array Rank in C# ? You can get the number of dimensions of the array using the Rank property of the array. For instance , the Rank property of…

C# Compiler Warning – CS8714 the type ‘{2}’ cannot be used as type pa

In this blog post, you’ll learn more about the C# Compiler Warning – CS8714 and the related message description C# Compiler Warning Code CS8714 C# Compiler Description for the Code :CS8714 The type ‘{2}’ cannot be used as type parameter ‘{1}’ in the generic type or method ‘{0}’. Nullability of type argument ‘{2}’ doesn’t match ‘notnull’ constraint.

Application Class in Windows Phone 8 Project

The Application class in the Windows Phone Project performs the start-up activities of the windows phone app. The Windows Phone 8 SDK by default creates the App.xaml file which inherits from Application class. This file is created when the project is created. The App.xaml can be used to store application level resources, styles etc. whereas the App.xaml.cs file is the code behind file where the…