Category: C#

C# Compiler Warning – CS8633 nullability in constraints for type para

In this blog post, you’ll learn more about the C# Compiler Warning – CS8633 and the related message description C# Compiler Warning Code CS8633 C# Compiler Description for the Code :CS8633 Nullability in constraints for type parameter ‘{0}’ of method ‘{1}’ doesn’t match the constraints for type parameter ‘{2}’ of interface method ‘{3}’. Consider using an explicit interface implementation instead.

How to Detect the App returning from Dormant or Tombstoned State in Windows Phone 8?

When the Windows Phone is deactivated, the application enters the dormant state. Some of the scenario when the application can go to the dormant state are User uses the start button to navigate to different application. User receives a call when using the application User launches the launcher or chooser. etc. How to Detect the App if returning from Dormant or Tombstoned State in Windows…

C# Compiler Error – CS8415 asynchronous foreach statement cannot op

In this blog post, you’ll learn more about the C# Compiler Error – CS8415 and the related message description C# Compiler Error Code CS8415 C# Compiler Description for the Code :CS8415 Asynchronous foreach statement cannot operate on variables of type ‘{0}’ because ‘{0}’ does not contain a public instance or extension definition for ‘{1}’. Did you mean ‘foreach’ rather than ‘await foreach’?

How to find if the Character is a UpperCase or LowerCase in C# ?

You can find if the Character is a UpperCase or LowerCase in C# with the following methods Char.IsLower Char.IsUpper How to find if the Character is a UpperCase or LowerCase in C# ? The Char.IsLower method will return true if the specified character is a lower case character. The Char.IsUpper method will return true if the specified character is a upper case character.