Category: C#

How to detect if the Windows Phone App is running in KidsCorner using C#?

Below is a sample code snippet that demonstrates how to detect if the application in Windows Phone is running in Kids Corner using C#? The Windows.Phone.ApplicationModel.ApplicationProfile returns the value Default or Alternate. The default value indicates the normal mode whereas the Alternate indicates the Kids Corner mode. How to detect if the Windows Phone App is running in KidsCorner using C#?

C# Compiler Error – CS8800 both partial method declarations must ha

In this blog post, you’ll learn more about the C# Compiler Error – CS8800 and the related message description C# Compiler Error Code CS8800 C# Compiler Description for the Code :CS8800 Both partial method declarations must have identical combinations of ‘virtual’, ‘override’, ‘sealed’, and ‘new’ modifiers.

C# Compiler Error – CS8141 the tuple element names in the signature

In this blog post, you’ll learn more about the C# Compiler Error – CS8141 and the related message description C# Compiler Error Code CS8141 C# Compiler Description for the Code :CS8141 The tuple element names in the signature of method ‘{0}’ must match the tuple element names of interface method ‘{1}’ (including on the return type).