Tag: Development

Community

Implementing IComparer

(Richard Carr) The generic IComparer interface was introduced with the .NET framework version 2.0. It is used to compare two values to determine which is the larger. The interface is used in many standard .NET methods, particularly those that sort information.

Community

Using C# 5.0 Async for File Access

(Alan Berman) The new Async feature in Visual Studio makes it easy to code asynchronous method calls. To make synchronous code asynchronous, you can simply call an asynchronous method instead of a synchronous method and add a few keywords to the code, as shown in the examples below. You no longer n