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 – 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

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…

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…