Category: C#
C# Compiler Error – CS0551 explicit interface implementation ‘{0}’
In this blog post, you’ll learn more about the C# Compiler Error – CS0551 and the related message description C# Compiler Error Code CS0551 C# Compiler Description for the Code :CS0551 Explicit interface implementation ‘{0}’ is missing accessor ‘{1}’
C# Compiler Error – CS0702 constraint cannot be special class ‘{0}’
In this blog post, you’ll learn more about the C# Compiler Error – CS0702 and the related message description C# Compiler Error Code CS0702 C# Compiler Description for the Code :CS0702 Constraint cannot be special class ‘{0}’
Anonymous Type Example
The simplest example of the anonymous type is to use the var keyword and assign the non-null initial value to the variable declared with var keyword. Below is a sample soucrecode demonstrating the simple anonymous type example. The above code is similar to the code written like below.
How to Cancel Http Client Request in Windows Phone 8.1 ?
There are times when you may want to cancel the HttpClient request that you made from your app , below is a sample code snippet demonstrating how to do it. How to Cancel Http Client Request in Windows Phone 8.1 ?
C# Compiler Error – CS0239 ‘{0}’: cannot override inherited member
In this blog post, you’ll learn more about the C# Compiler Error – CS0239 and the related message description C# Compiler Error Code CS0239 C# Compiler Description for the Code :CS0239 ‘{0}’: cannot override inherited member ‘{1}’ because it is sealed
C# Compiler Error – CS1914 static field or property ‘{0}’ cannot be
In this blog post, you’ll learn more about the C# Compiler Error – CS1914 and the related message description C# Compiler Error Code CS1914 C# Compiler Description for the Code :CS1914 Static field or property ‘{0}’ cannot be assigned in an object initializer
5 Alternative ASP.NET MVC View Engines
If you a ASP.NET MVC Web developer , you would have noticed that by default ASP.NET MVC includes 2 View Engines “Razor View” and “ASPX View”. In this article , we will explore other different View Engines(third party) available in ASP.NET. 5 Alternative ASP.NET MVC View Engines 1. Spark Spark is a open source view engine for ASP.NET MVC projects as well as Castle MonoRail…
C# Compiler Error – CS8516 the name ‘{0}’ does not identify tuple e
In this blog post, you’ll learn more about the C# Compiler Error – CS8516 and the related message description C# Compiler Error Code CS8516 C# Compiler Description for the Code :CS8516 The name ‘{0}’ does not identify tuple element ‘{1}’.
C# Compiler Error – CS7058 the specified version string does not co
In this blog post, you’ll learn more about the C# Compiler Error – CS7058 and the related message description C# Compiler Error Code CS7058 C# Compiler Description for the Code :CS7058 The specified version string does not conform to the required format – major.minor.build.revision (without wildcards)
C# Compiler Error – CS1628 cannot use ref, out, or in parameter ‘{0
In this blog post, you’ll learn more about the C# Compiler Error – CS1628 and the related message description C# Compiler Error Code CS1628 C# Compiler Description for the Code :CS1628 Cannot use ref, out, or in parameter ‘{0}’ inside an anonymous method, lambda expression, query expression, or local function
C# Compiler Warning – CS4024 the callerlinenumberattribute applied to
In this blog post, you’ll learn more about the C# Compiler Warning – CS4024 and the related message description C# Compiler Warning Code CS4024 C# Compiler Description for the Code :CS4024 The CallerLineNumberAttribute applied to parameter ‘{0}’ will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
How to Deserialize JSON data in Windows Phone 8 app ?
To Deserialize JSON data in Windows Phone 8 , the developers can utilize the json.NET . How to Deserialize JSON data in Windows Phone 8 app ? Below is a sample code snippet that demonstrates how to Deserialise JSON data in Windows Phone 8 app.
C# Compiler Error – CS8126 tuple element name ‘{0}’ is disallowed a
In this blog post, you’ll learn more about the C# Compiler Error – CS8126 and the related message description C# Compiler Error Code CS8126 C# Compiler Description for the Code :CS8126 Tuple element name ‘{0}’ is disallowed at any position.
mc:Ignorable attribute in Windows Phone XAML Page
When a new Windows Phone Project is created, it creates the MainPage.xaml by default. This page contains the attribute mc:Ignorable=”d” This is an attribute which indicates to the compiler to ignore any other attributes that starts with “d”. For example, the attributes d: DesignHeight or d: DesignWidth is a typical example of the compiler ignoring the height and width attributes. These attributes are only used…
How to Cancel Navigation Programatically in the OnBackKeyPress Event in WP8?
Below is a sample code snippet demonstrating how to cancel Navigation Programatically in the OnBackKeyPress Event in WP8? How to Cancel Navigation Programatically in the OnBackKeyPress Event in WP8?
C# Compiler Error – CS8070 control cannot fall out of switch from f
In this blog post, you’ll learn more about the C# Compiler Error – CS8070 and the related message description C# Compiler Error Code CS8070 C# Compiler Description for the Code :CS8070 Control cannot fall out of switch from final case label (‘{0}’)
How to Implement Interfaces in C# ?
Once the interface is created or available , you might want to implement the functionality of the interface in your class . How to Implement Interfaces in C# ? To implement an interface , we must declare and provide implementations for each functions in your class. Below is a sample code snippet that demonstrates how to implement interface in C#.
C# Compiler Error – CS7059 executables cannot be satellite assembli
In this blog post, you’ll learn more about the C# Compiler Error – CS7059 and the related message description C# Compiler Error Code CS7059 C# Compiler Description for the Code :CS7059 Executables cannot be satellite assemblies; culture should always be empty