Category: C#

Developing Windows Phone 8 app using Web technologies like HTML5, CSS3 and JavaScript

Most of the time, the developers would want to use their existing skills and develop more apps targeting different and multiple platforms. For example, the Web developers might want to develop Windows phone apps using HTML, CSS, Java Script and other Web technologies that they know. Can the Windows Phone 8 app be developed using Web technologies like HTML5, CSS3 and JavaScript? Yes, the Web…

How to Calculate MD5 checksum for a file in C# ?

There are times when you want to calculate MD5 checksum for a file in C# and you can easily do that using System.Security.Cryptography.MD5 You can use the ComputeHash method of the MD5 instance by passing the stream. You can later it to Hex using the BitConverter so that you can represent it as string for conversion. How to Calculate MD5 checksum for a file in…

C# Compiler Error – CS0664 literal of type double cannot be implici

In this blog post, you’ll learn more about the C# Compiler Error – CS0664 and the related message description C# Compiler Error Code CS0664 C# Compiler Description for the Code :CS0664 Literal of type double cannot be implicitly converted to type ‘{1}’; use an ‘{0}’ suffix to create a literal of this type

C# Compiler Error – CS8412 asynchronous foreach requires that the r

In this blog post, you’ll learn more about the C# Compiler Error – CS8412 and the related message description C# Compiler Error Code CS8412 C# Compiler Description for the Code :CS8412 Asynchronous foreach requires that the return type ‘{0}’ of ‘{1}’ must have a suitable public ‘MoveNextAsync’ method and public ‘Current’ property