Category: C#
C# Compiler Warning – CS0078 the ‘l’ suffix is easily confused with t
In this blog post, you’ll learn more about the C# Compiler Warning – CS0078 and the related message description C# Compiler Warning Code CS0078 C# Compiler Description for the Code :CS0078 The ‘l’ suffix is easily confused with the digit ‘1’ — use ‘L’ for clarity
C# Compiler Error – CS2024 invalid file section alignment ‘{0}’
In this blog post, you’ll learn more about the C# Compiler Error – CS2024 and the related message description C# Compiler Error Code CS2024 C# Compiler Description for the Code :CS2024 Invalid file section alignment ‘{0}’
C# Compiler Error – CS8715 duplicate null suppression operator (‘!’
In this blog post, you’ll learn more about the C# Compiler Error – CS8715 and the related message description C# Compiler Error Code CS8715 C# Compiler Description for the Code :CS8715 Duplicate null suppression operator (‘!’)
Single Line and Multi Line Comment Example in C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication1 { #region testregion public partial class Form1 : Form { // Single Line Comment Test public Form1() { InitializeComponent(); } /* This is a Multiline Comment test */ private void Form1_Load(object sender, EventArgs e) { Debug.WriteLine(“This is a test message”); } } #endregion…
C# Compiler Error – CS7016 alias ‘{0}’ conflicts with {1} definitio
In this blog post, you’ll learn more about the C# Compiler Error – CS7016 and the related message description C# Compiler Error Code CS7016 C# Compiler Description for the Code :CS7016 Alias ‘{0}’ conflicts with {1} definition
C# Compiler Error – CS8652 the feature ‘{0}’ is currently in previe
In this blog post, you’ll learn more about the C# Compiler Error – CS8652 and the related message description C# Compiler Error Code CS8652 C# Compiler Description for the Code :CS8652 The feature ‘{0}’ is currently in Preview and unsupported. To use Preview features, use the ‘preview’ language version.
C# Compiler Error – CS0619 ‘{0}’ is obsolete: ‘{1}’
In this blog post, you’ll learn more about the C# Compiler Error – CS0619 and the related message description C# Compiler Error Code CS0619 C# Compiler Description for the Code :CS0619 ‘{0}’ is obsolete: ‘{1}’
How to Get the Name of the Windows Phone Device which is identified by the remote peers ?
How to Get the Name of the Windows Phone Device which is identified by the remote peers ?
C# Compiler Warning – CS1734 xml comment on ‘{1}’ has a paramref tag
In this blog post, you’ll learn more about the C# Compiler Warning – CS1734 and the related message description C# Compiler Warning Code CS1734 C# Compiler Description for the Code :CS1734 XML comment on ‘{1}’ has a paramref tag for ‘{0}’, but there is no parameter by that name
C# Compiler Error – CS0140 the label ‘{0}’ is a duplicate
In this blog post, you’ll learn more about the C# Compiler Error – CS0140 and the related message description C# Compiler Error Code CS0140 C# Compiler Description for the Code :CS0140 The label ‘{0}’ is a duplicate
Capabilities needed for Including Speech in the Windows Phone App
The Windows Phone 8 includes several features that supports Speech to be included in your Windows Phone App. In order to include the speech recognition features in the windows phone app, the developers must include 2 capabilities in their windows phone app in the WMAppManifest.xml app manifest file. ID_CAP_SPEECH_RECOGNITION ID_CAP_MICROPHONE Capabilities needed for Including Speech in the Windows Phone App To set these capabilities in…
C# Compiler Error – CS8648 a goto cannot jump to a location after a
In this blog post, you’ll learn more about the C# Compiler Error – CS8648 and the related message description C# Compiler Error Code CS8648 C# Compiler Description for the Code :CS8648 A goto cannot jump to a location after a using declaration.
C# Compiler Error – CS8325 ‘await’ cannot be used in an expression
In this blog post, you’ll learn more about the C# Compiler Error – CS8325 and the related message description C# Compiler Error Code CS8325 C# Compiler Description for the Code :CS8325 ‘await’ cannot be used in an expression containing a ref conditional operator
C# Compiler Error – CS8051 auto-implemented properties must have ge
In this blog post, you’ll learn more about the C# Compiler Error – CS8051 and the related message description C# Compiler Error Code CS8051 C# Compiler Description for the Code :CS8051 Auto-implemented properties must have get accessors.
C# Compiler Error – CS7103 unable to read debug information of meth
In this blog post, you’ll learn more about the C# Compiler Error – CS7103 and the related message description C# Compiler Error Code CS7103 C# Compiler Description for the Code :CS7103 Unable to read debug information of method ‘{0}’ (token 0x{1:X8}) from assembly ‘{2}’
How to get Installed Speech Recognizers from Windows Phone using C#?
Below is a sample code snippet demonstrating how to retrieve the installed speech recognizers from Windows Phone using C#. How to get Installed Speech Recognizers from Windows Phone using C#? Output en-US de-DE zh-TW fr-FR it-IT ja-JP pl-PL pt-BR ru-RU en-IN zh-CN en-GB es-MX zh-HK es-ES
C# Compiler Fatal – CS2021 file name ‘{0}’ is empty, contains inval
In this blog post, you’ll learn more about the C# Compiler Fatal – CS2021 and the related message description C# Compiler Fatal Code CS2021 C# Compiler Description for the Code :CS2021 File name ‘{0}’ is empty, contains invalid characters, has a drive specification without an absolute path, or is too long
What are Enumerations ?
Enumeration are like a group of integer constants where each of the symbols in the enumeration stands for an integer value starting from 0 (by default). You can create an Enum in C# with the keyword enum like the below example
C# Compiler Error – CS1989 async lambda expressions cannot be conve
In this blog post, you’ll learn more about the C# Compiler Error – CS1989 and the related message description C# Compiler Error Code CS1989 C# Compiler Description for the Code :CS1989 Async lambda expressions cannot be converted to expression trees
C# Compiler Error – CS0452 the type ‘{2}’ must be a reference type
In this blog post, you’ll learn more about the C# Compiler Error – CS0452 and the related message description C# Compiler Error Code CS0452 C# Compiler Description for the Code :CS0452 The type ‘{2}’ must be a reference type in order to use it as parameter ‘{1}’ in the generic type or method ‘{0}’