.NET news » C# C# Rss Feed

What's New in C# 3.0? Part 1

With the release of Visual Studio 2008, Microsoft has updated the C# language to its latest version, 3.0. C# 3.0, contains several key language enhancements that support the recently-announced Language Integrated Query (LINQ) feature. This article, the first of a two-part series, will walk you through each of these new, time-saving language enhancements and provide a couple of code examples illustrating how to use them.
24 Jan 2008, 23:34:57   Source: What's New in C# 3.0? Part 1   Tags: C#

C# Relational Operator Overloading

The eleventh article in the C# Object-Oriented Programming tutorial furthers the investigation of operator overloading. This time the overloading of the relational operators is described, allowing custom classes to be included in comparison operations.
18 Jan 2008, 01:48:31   Source: C# Relational Operator Overloading   Tags: C#

C# Indexers

The thirteenth part of the C# Object-Oriented Programming tutorial describes the use of indexers. A class that has an indexer can be used in a similar manner to an array. Objects of the class can use array-style notation to present multiple values.
18 Jan 2008, 01:48:31   Source: C# Indexers   Tags: C#

Casting and passing anonymous types

C# 3.0: how to pass an anonymous types, and how to cast them.
17 Jan 2008, 09:34:00   Source: Casting and passing anonymous types   Tags: C#

C# 3.0 Syntax Additions-Design Guidelines

C# 3.0 includes a few syntactical additions to the language. For the most part, Microsoft added these language additions to support Language Integrated Query (LINQ). These features include (but are not limited to) lambda expressions, extensions methods, anonymous types, implicitly typed local variables, automatic properties, and object initializers.
27 Dec 2007, 18:00:00   Source: C# 3.0 Syntax Additions-Design Guidelines   Tags: C#

C# Basic Operator Overloading

The eighth article in the C# Object-Oriented Programming tutorial describes a third overloading technique. By overloading the functionality of operators, the operation of the standard operators including + and - can be defined for new classes.
24 Nov 2007, 09:51:51   Source: C# Basic Operator Overloading   Tags: C#

Overloading True and False in C#

The ninth article in the C# Object-Oriented Programming tutorial continues the discussion of operator overloading. In this article, the overloading of the true and false operators is described, allowing an object to be used in conditional processing.
24 Nov 2007, 09:51:51   Source: Overloading True and False in C#   Tags: C#

Marking C# Code As Obsolete

As class libraries evolve over time, new functionality will be added and existing classes, methods and properties will be improved. Sometimes this means that older code is superseded and it is preferable that it is marked as obsolete and no longer used.
26 Oct 2007, 00:00:07   Source: Marking C# Code As Obsolete   Tags: C#

Working with Nullable Types in C#

Use nullable types to assign null values to value types and avoid run-time exceptions in your applications.
12 Oct 2007, 20:43:55   Source: Working with Nullable Types in C#   Tags: C#

Throwing Exceptions in C#

The thirty-fifth part of the C# Fundamentals tutorial completes an investigation of exception handling. In this article we will consider the throwing of exceptions to report error conditions. This includes the use of standard and custom exception types.
10 Apr 2007, 00:00:07   Source: Throwing Exceptions in C#   Tags: C#