Category: C#
C# Compiler Warning – CS8778 constant value ‘{0}’ may overflow ‘{1}’
In this blog post, you’ll learn more about the C# Compiler Warning – CS8778 and the related message description C# Compiler Warning Code CS8778 C# Compiler Description for the Code :CS8778 Constant value ‘{0}’ may overflow ‘{1}’ at runtime (use ‘unchecked’ syntax to override)
C# Compiler Error – CS0750 a partial method cannot have the ‘abstra
In this blog post, you’ll learn more about the C# Compiler Error – CS0750 and the related message description C# Compiler Error Code CS0750 C# Compiler Description for the Code :CS0750 A partial method cannot have the ‘abstract’ modifier
C# Compiler Error – CS1601 cannot make reference to variable of typ
In this blog post, you’ll learn more about the C# Compiler Error – CS1601 and the related message description C# Compiler Error Code CS1601 C# Compiler Description for the Code :CS1601 Cannot make reference to variable of type ‘{0}’
C# Compiler Error – CS8664 ‘{0}’: ‘readonly’ can only be used on ac
In this blog post, you’ll learn more about the C# Compiler Error – CS8664 and the related message description C# Compiler Error Code CS8664 C# Compiler Description for the Code :CS8664 ‘{0}’: ‘readonly’ can only be used on accessors if the property or indexer has both a get and a set accessor
C# Compiler Error – CS0525 interfaces cannot contain instance field
In this blog post, you’ll learn more about the C# Compiler Error – CS0525 and the related message description C# Compiler Error Code CS0525 C# Compiler Description for the Code :CS0525 Interfaces cannot contain instance fields
C# Compiler Error – CS8086 a ‘{0}’ character must be escaped (by do
In this blog post, you’ll learn more about the C# Compiler Error – CS8086 and the related message description C# Compiler Error Code CS8086 C# Compiler Description for the Code :CS8086 A ‘{0}’ character must be escaped (by doubling) in an interpolated string.
C# Compiler Warning – CS0469 the ‘goto case’ value is not implicitly
In this blog post, you’ll learn more about the C# Compiler Warning – CS0469 and the related message description C# Compiler Warning Code CS0469 C# Compiler Description for the Code :CS0469 The ‘goto case’ value is not implicitly convertible to type ‘{0}’
C# Compiler Error – CS0006 metadata file ‘{0}’ could not be found
In this blog post, you’ll learn more about the C# Compiler Error – CS0006 and the related message description C# Compiler Error Code CS0006 C# Compiler Description for the Code :CS0006 Metadata file ‘{0}’ could not be found
C# Compiler Error – CS7088 invalid ‘{0}’ value: ‘{1}’.
In this blog post, you’ll learn more about the C# Compiler Error – CS7088 and the related message description C# Compiler Error Code CS7088 C# Compiler Description for the Code :CS7088 Invalid ‘{0}’ value: ‘{1}’.
How to convert JSON to XML or XML to JSON in C# ?
Below is a sample code snippet demonstrating how you can convert the Json to XML and vice versa in C# using Json.NET. How to convert JSON to XML or XML to JSON in C# ?
C# Compiler Error – CS0539 ‘{0}’ in explicit interface declaration
In this blog post, you’ll learn more about the C# Compiler Error – CS0539 and the related message description C# Compiler Error Code CS0539 C# Compiler Description for the Code :CS0539 ‘{0}’ in explicit interface declaration is not found among members of the interface that can be implemented
How to Get the Height and Width of the Page on changing orientation in Windows Phone?
Sometimes, you might want to determine the Height and Width of the Page in a Windows Phone app in order to adjust the screen and the UI elements in the Orientation changed event. The actual size of the page will not be modified until the OnOrientationChanged event is called and hence it is necessary to use the Dispatcher which lets you get the current height…