Category: C#
C# Compiler Error – CS7087 invalid module name: {0}
In this blog post, you’ll learn more about the C# Compiler Error – CS7087 and the related message description C# Compiler Error Code CS7087 C# Compiler Description for the Code :CS7087 Invalid module name: {0}
C# Compiler Warning – CS8634 the type ‘{2}’ cannot be used as type pa
In this blog post, you’ll learn more about the C# Compiler Warning – CS8634 and the related message description C# Compiler Warning Code CS8634 C# Compiler Description for the Code :CS8634 The type ‘{2}’ cannot be used as type parameter ‘{1}’ in the generic type or method ‘{0}’. Nullability of type argument ‘{2}’ doesn’t match ‘class’ constraint.
C# Compiler Error – CS1769 type ‘{0}’ from assembly ‘{1}’ cannot be
In this blog post, you’ll learn more about the C# Compiler Error – CS1769 and the related message description C# Compiler Error Code CS1769 C# Compiler Description for the Code :CS1769 Type ‘{0}’ from assembly ‘{1}’ cannot be used across assembly boundaries because it has a generic type argument that is an embedded interop type.
C# Compiler Warning – CS1066 the default value specified for paramete
In this blog post, you’ll learn more about the C# Compiler Warning – CS1066 and the related message description C# Compiler Warning Code CS1066 C# Compiler Description for the Code :CS1066 The default value specified for parameter ‘{0}’ will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
Can we develop Windows Phone 8.1 App using HTML5 , JavaScript and CSS ?
Most of the developers with the web development skills might be keen to know if they can use their existing web development skills (HTML , JavaScript and CSS) to build Windows Phone 8.1 App . Can we develop Windows Phone 8.1 App using HTML5 , JavaScript and CSS ? Yes , you can develop Windows Phone 8.1 App using HTML5 , JavaScript and CSS ….
C# Program to display "Hello, World!"
Problem Write a program in C# to display “Hello, World!” on the screen. C# Program to display “Hello, World!” in Console Window. This is a simple C# program that displays “Hello, World!” on the console window. Output Hello, World!
How to Generate C# class from a XML file ?
Do you want to generate C# class from an XML file ?. You can use the xsd tool to do it. How to Generate C# class from a XML file ? 1. Just launch the Visual Studio Developer Command prompt from the Windows Start menu. 2. Type the command xsd and specify the path of the xml file. xsd d:\test\test.xml 3. This will create the…
C# Compiler Error – CS8662 field-like event ‘{0}’ cannot be ‘readon
In this blog post, you’ll learn more about the C# Compiler Error – CS8662 and the related message description C# Compiler Error Code CS8662 C# Compiler Description for the Code :CS8662 Field-like event ‘{0}’ cannot be ‘readonly’.
C# Compiler Error – CS8364 arguments with ‘in’ modifier cannot be u
In this blog post, you’ll learn more about the C# Compiler Error – CS8364 and the related message description C# Compiler Error Code CS8364 C# Compiler Description for the Code :CS8364 Arguments with ‘in’ modifier cannot be used in dynamically dispatched expressions.
C# Compiler Error – CS0155 the type caught or thrown must be derive
In this blog post, you’ll learn more about the C# Compiler Error – CS0155 and the related message description C# Compiler Error Code CS0155 C# Compiler Description for the Code :CS0155 The type caught or thrown must be derived from System.Exception
How to Check Status of Current Thread in C# ?
This blog post will provide a simple tip on how you can find the status of the current thread in C# program. How to Check Status of Current Thread in C# ? The isAlive property can be used to check the current thread status in C#. First , get the instance of the current thread using the Thread.CurrentThread and then get the IsAlive property. Ensure…
C# Compiler Error – CS0682 ‘{0}’ cannot implement ‘{1}’ because it
In this blog post, you’ll learn more about the C# Compiler Error – CS0682 and the related message description C# Compiler Error Code CS0682 C# Compiler Description for the Code :CS0682 ‘{0}’ cannot implement ‘{1}’ because it is not supported by the language