Category: C#
How to Convert a Character to Upper Case in C# using Char.ToUpper ?
The Char class provides the method ToUpper which will convert the any given character to its corresponding upper case character from lower case character. The Char.ToUpper accepts the character as parameter and returns the char with the Upper Case . How to Convert a Character to Upper Case in C# using Char.ToUpper ? Below is a sample sourcecode demonstrating How to Convert a Character to…
C# Compiler Warning – CS3008 identifier ‘{0}’ is not cls-compliant
In this blog post, you’ll learn more about the C# Compiler Warning – CS3008 and the related message description C# Compiler Warning Code CS3008 C# Compiler Description for the Code :CS3008 Identifier ‘{0}’ is not CLS-compliant
C# Compiler Error – CS8008 type ‘{0}’ forwarded to assembly ‘{1}’ c
In this blog post, you’ll learn more about the C# Compiler Error – CS8008 and the related message description C# Compiler Error Code CS8008 C# Compiler Description for the Code :CS8008 Type ‘{0}’ forwarded to assembly ‘{1}’ conflicts with type ‘{2}’ exported from module ‘{3}’.
C# Compiler Error – CS7013 name ‘{0}’ exceeds the maximum length al
In this blog post, you’ll learn more about the C# Compiler Error – CS7013 and the related message description C# Compiler Error Code CS7013 C# Compiler Description for the Code :CS7013 Name ‘{0}’ exceeds the maximum length allowed in metadata.
C# Compiler Error – CS0591 invalid value for argument to ‘{0}’ attr
In this blog post, you’ll learn more about the C# Compiler Error – CS0591 and the related message description C# Compiler Error Code CS0591 C# Compiler Description for the Code :CS0591 Invalid value for argument to ‘{0}’ attribute
C# Compiler Error – CS7030 cannot pass null for friend assembly nam
In this blog post, you’ll learn more about the C# Compiler Error – CS7030 and the related message description C# Compiler Error Code CS7030 C# Compiler Description for the Code :CS7030 Cannot pass null for friend assembly name
C# Compiler Error – CS8107 feature ‘{0}’ is not available in c# 7.0
In this blog post, you’ll learn more about the C# Compiler Error – CS8107 and the related message description C# Compiler Error Code CS8107 C# Compiler Description for the Code :CS8107 Feature ‘{0}’ is not available in C# 7.0. Please use language version {1} or greater.
C# Compiler Error – CS8075 an extension add method is not supported
In this blog post, you’ll learn more about the C# Compiler Error – CS8075 and the related message description C# Compiler Error Code CS8075 C# Compiler Description for the Code :CS8075 An extension Add method is not supported for a collection initializer in an expression lambda.
How to Launch the Device Wifi Settings App from the Windows Phone 8 App?
Below is a sample code snippet that demonstrated how the developers can use the ConnectionSettingsTask launcher to launch the windows phone device’s Wifi settings app from the Windows Phone 8 App. How to Launch the Device Wifi Settings App from the Windows Phone 8 App?
C# Compiler Warning – CS0108 ‘{0}’ hides inherited member ‘{1}’. use
In this blog post, you’ll learn more about the C# Compiler Warning – CS0108 and the related message description C# Compiler Warning Code CS0108 C# Compiler Description for the Code :CS0108 ‘{0}’ hides inherited member ‘{1}’. Use the new keyword if hiding was intended.
C# Compiler Error – CS1662 cannot convert {0} to intended delegate
In this blog post, you’ll learn more about the C# Compiler Error – CS1662 and the related message description C# Compiler Error Code CS1662 C# Compiler Description for the Code :CS1662 Cannot convert {0} to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type
C# Compiler Error – CS0057 inconsistent accessibility: parameter ty
In this blog post, you’ll learn more about the C# Compiler Error – CS0057 and the related message description C# Compiler Error Code CS0057 C# Compiler Description for the Code :CS0057 Inconsistent accessibility: parameter type ‘{1}’ is less accessible than operator ‘{0}’
C# Compiler Error – CS0763 both partial method declarations must be
In this blog post, you’ll learn more about the C# Compiler Error – CS0763 and the related message description C# Compiler Error Code CS0763 C# Compiler Description for the Code :CS0763 Both partial method declarations must be static or neither may be static
C# Compiler Error – CS0567 conversion, equality, or inequality oper
In this blog post, you’ll learn more about the C# Compiler Error – CS0567 and the related message description C# Compiler Error Code CS0567 C# Compiler Description for the Code :CS0567 Conversion, equality, or inequality operators declared in interfaces must be abstract
How to Convert Byte Array to String in C#?
Below is a sample code snippet demonstrating the conversion of Byte Array to string in C#. How to Convert Byte Array to String in C#?
C# Compiler Warning – CS8898 ‘{0}’: static types cannot be used as re
In this blog post, you’ll learn more about the C# Compiler Warning – CS8898 and the related message description C# Compiler Warning Code CS8898 C# Compiler Description for the Code :CS8898 ‘{0}’: static types cannot be used as return types
What is the best data type for Currency in C#?
If you are looking at finding out what could be the best data type for currency in C# ?, this post will provide a quick tip or insights on the same. What is the best data type for Currency in C#? Use decimal for any currency or money values. The decimal keyword indicates a 128-bit data type. Compared to floating-point types, the decimal type has…
C# Compiler Error – CS0174 a base class is required for a ‘base’ re
In this blog post, you’ll learn more about the C# Compiler Error – CS0174 and the related message description C# Compiler Error Code CS0174 C# Compiler Description for the Code :CS0174 A base class is required for a ‘base’ reference
C# Compiler Error – CS1961 invalid variance: the type parameter ‘{1
In this blog post, you’ll learn more about the C# Compiler Error – CS1961 and the related message description C# Compiler Error Code CS1961 C# Compiler Description for the Code :CS1961 Invalid variance: The type parameter ‘{1}’ must be {3} valid on ‘{0}’. ‘{1}’ is {2}.
C# Compiler Error – CS8701 target runtime doesn’t support default i
In this blog post, you’ll learn more about the C# Compiler Error – CS8701 and the related message description C# Compiler Error Code CS8701 C# Compiler Description for the Code :CS8701 Target runtime doesn’t support default interface implementation.