Category: C#
How to Validate an email address using Regular Expression in C# ?
You can validate an email address in C# using regular expressions which provides the developers to play around with different patterns. Below is a code snippet that shows how you can use regular expression to validate an email address in C# . How to Validate an email address using Regular Expression in C# ?
C# Compiler Error – CS0312 the type ‘{3}’ cannot be used as type pa
In this blog post, you’ll learn more about the C# Compiler Error – CS0312 and the related message description C# Compiler Error Code CS0312 C# Compiler Description for the Code :CS0312 The type ‘{3}’ cannot be used as type parameter ‘{2}’ in the generic type or method ‘{0}’. The nullable type ‘{3}’ does not satisfy the constraint of ‘{1}’.
C# Compiler Error – CS7100 assembly culture strings may not contain
In this blog post, you’ll learn more about the C# Compiler Error – CS7100 and the related message description C# Compiler Error Code CS7100 C# Compiler Description for the Code :CS7100 Assembly culture strings may not contain embedded NUL characters.
C# Compiler Error – CS1773 invalid version {0} for /subsystemversio
In this blog post, you’ll learn more about the C# Compiler Error – CS1773 and the related message description C# Compiler Error Code CS1773 C# Compiler Description for the Code :CS1773 Invalid version {0} for /subsystemversion. The version must be 6.02 or greater for ARM or AppContainerExe, and 4.00 or greater otherwise
C# Compiler Error – CS8910 the primary constructor conflicts with t
In this blog post, you’ll learn more about the C# Compiler Error – CS8910 and the related message description C# Compiler Error Code CS8910 C# Compiler Description for the Code :CS8910 The primary constructor conflicts with the synthesized copy constructor.
C# Compiler Error – CS0185 ‘{0}’ is not a reference type as require
In this blog post, you’ll learn more about the C# Compiler Error – CS0185 and the related message description C# Compiler Error Code CS0185 C# Compiler Description for the Code :CS0185 ‘{0}’ is not a reference type as required by the lock statement
C# Compiler Error – CS0466 ‘{0}’ should not have a params parameter
In this blog post, you’ll learn more about the C# Compiler Error – CS0466 and the related message description C# Compiler Error Code CS0466 C# Compiler Description for the Code :CS0466 ‘{0}’ should not have a params parameter since ‘{1}’ does not
C# Compiler Error – CS8635 unexpected character sequence ‘…’
In this blog post, you’ll learn more about the C# Compiler Error – CS8635 and the related message description C# Compiler Error Code CS8635 C# Compiler Description for the Code :CS8635 Unexpected character sequence ‘…’
C# Compiler Error – CS0220 the operation overflows at compile time
In this blog post, you’ll learn more about the C# Compiler Error – CS0220 and the related message description C# Compiler Error Code CS0220 C# Compiler Description for the Code :CS0220 The operation overflows at compile time in checked mode
WP8.1 Dev Guide – Download and Install Windows Phone 8.1 SDK
To get started with the development of windows phone 8.1 apps , the developers should have the Windows Phone 8.1 SDK installed on their system . You can download Visual Studio Express 2013 for Windows , a free tool that lets the developers to create Windows Phone and Windows Store apps, including universal Windows apps targeting all the Windows devices. The tools include the necessary…
C# Compiler Error – CS4013 instance of type ‘{0}’ cannot be used in
In this blog post, you’ll learn more about the C# Compiler Error – CS4013 and the related message description C# Compiler Error Code CS4013 C# Compiler Description for the Code :CS4013 Instance of type ‘{0}’ cannot be used inside a nested function, query expression, iterator block or async method
Json.NET & C# – How to Serialize a Collection?
Do you want to serialize an collection in your C# application?. Json.NET supports this functionality with ease. The Collection can be an Array , Dictionary or List. You need to simply pass collection to the JsonConvert.SerializeObject static method which would serialize the collection and return you the Json string. How to Serialize a Collection in C# using JSON.NET ? For example , assume that you…