Latest Articles in the Category CSharp

Sort by: Most Comments | Avg Rating | Most Ratings | Cancel Sort

Introduction to C# 3.0 features

Sanjeev Singh, May 30, 2011
Views: 4,341 Avg Rating: 0/5 Votes: 0 Comments: 0

C# 3.0 introduced some of very useful features built on top of 2.0. This article explains the usage, syntax and reasoning behind those language features.

Understanding and Using Extension Methods

Jonathan Wood, May 18, 2011
Views: 6,713 Avg Rating: 0/5 Votes: 0 Comments: 0

Extension methods were new to C# 3.0. They allow you to add a method to an existing type without having to inherit from that type.

C# 4.0 Reflection Programming - Part 4

Xianzhong Zhu, Oct 27, 2010
Views: 9,114 Avg Rating: 0/5 Votes: 0 Comments: 0

In this last article of this series, we will learn what to do with reflection. But before making the topic more interesting, we'll first look at how to dynamically create an object.

C# 4.0 Reflection Programming - Part 3

Xianzhong Zhu, Oct 22, 2010
Views: 9,216 Avg Rating: 5/5 Votes: 1 Comments: 3

In the previous article, we used the reflection to obtain the information of an assembly, module, type, and type members. In this article, we'll turn to discuss another important aspect related to reflection-Attribute programming. We are going to first look at the mostly-used .NET built-in Attributes, and then try to write a custom Attribute. At last, we'll rest upon reflection to acquire the custom attribute info.

C# 4.0 Reflection Programming - Part 2

Xianzhong Zhu, Oct 20, 2010
Views: 9,458 Avg Rating: 4/5 Votes: 1 Comments: 0

As introduced in the first article, the most typically-used tools associated with .NET reflection are: the Type class and Assembly class related members. In this second article, we are going to pick up the .NET reflection tools to set up more samples to explore the wide and extensive use of reflection.

C# 4.0 Reflection Programming - Part 1

Xianzhong Zhu, Oct 13, 2010
Views: 22,811 Avg Rating: 5/5 Votes: 1 Comments: 1

An introduction to Reflection in C#.

Dissecting C# 4.0 Dynamic Programming

Xianzhong Zhu, Oct 11, 2010
Views: 15,085 Avg Rating: 0/5 Votes: 0 Comments: 0

In the latest C# 4.0 released in 2010, the biggest innovation is having introduced a dynamic programming language feature. In this article, we are going to explore this new and main feature, as well as other related interesting questions.

Get Started with Ninject 2.0 in C# Programming

Xianzhong Zhu, Oct 08, 2010
Views: 27,297 Avg Rating: 0/5 Votes: 0 Comments: 0

This article will serve as an elementary tutorial to help you quickly get started with the lightweight and open sourced dependency injector for .NET applications - Ninject.

Dynamic Binding in a Static Language, Part 2

Manning Publications, Jan 04, 2010
Views: 5,285 Avg Rating: 0/5 Votes: 0 Comments: 1

This article is taken from the book C# in Depth, Second Edition.

Dynamic Binding in a Static Language, Part 1

Manning Publications, Dec 22, 2009
Views: 8,524 Avg Rating: 0/5 Votes: 0 Comments: 0

This article is taken from the book C# in Depth, Second Edition. This segment looks at what it means for code to be dynamic, and the syntax involved in using dynamic typing in C# 4.

LINQ to SQL Profiler

Andrew Siemer, Nov 23, 2009
Views: 19,633 Avg Rating: 0/5 Votes: 0 Comments: 0

In this article we will be taking a look at the new LINQ to SQL Profiler from HibernatingRhinos. This tool gives you a view into the goings on of LINQ to SQL. Not only does it allow you to see the SQL that is generated by your LINQ queries but it also shows you information about your connections, queries, as well as alerting you to all sorts of information that you might otherwise not know about.

Don’t Worry, Load Lazy (in LINQ-to-SQL)

Dino Esposito, Dec 22, 2008
Views: 20,016 Avg Rating: 0/5 Votes: 0 Comments: 0

Dino Esposito talks about the lazy load pattern in LINQ-to-SQL.

Complex Types in LINQ-to-SQL—Reloaded

Dino Esposito, Nov 18, 2008
Views: 11,851 Avg Rating: 0/5 Votes: 0 Comments: 0

Dino Esposito talks about complex types in LINQ-to-SQL.

Making LINQ-to-SQL A Bit More Abstract

Dino Esposito, Jun 23, 2008
Views: 17,702 Avg Rating: 5/5 Votes: 2 Comments: 1

Dino Esposito explains how to customize the code generated by Linq-to-SQL.

Objects and State Tracking in LINQ-to-SQL

Dino Esposito, May 14, 2008
Views: 32,747 Avg Rating: 5/5 Votes: 1 Comments: 7

Dino Esposito talks about the DataContext class in LINQ-to-SQL.

With LINQ-to-SQL Every Application Can Have an O/RM

Dino Esposito, Apr 21, 2008
Views: 13,502 Avg Rating: 5/5 Votes: 2 Comments: 1

Dino Esposito talks about LINQ-To-SQL as an O/RM tool.

Inside the LINQ-to-SQLs DataContext Class

Dino Esposito, Mar 18, 2008
Views: 76,914 Avg Rating: 0/5 Votes: 0 Comments: 3

Inside the LINQ-to-SQLs DataContext Class

LINQ to SQL and Visual Studio 2008

Brian Mains, Feb 06, 2008
Views: 67,277 Avg Rating: 3/5 Votes: 1 Comments: 1

Brian Mains discusses LINQ to SQL capabilities in the Visual Studio 2008 designer.

Creating custom LINQ provider using LinqExtender

Mehfuz Hossain, Jan 07, 2008
Views: 38,352 Avg Rating: 4/5 Votes: 4 Comments: 0

Mehfuz shows how to create a custom LINQ provider using the open source project LINQExtender.

LINQ provider basics

Mehfuz Hossain, Nov 10, 2007
Views: 52,594 Avg Rating: 5/5 Votes: 3 Comments: 5

Learn how to create custom LINQ providers.

Book Review: CLR via C# (2nd edition)

Alessandro Gallo, Sep 12, 2007
Views: 5,910 Avg Rating: 0/5 Votes: 0 Comments: 2

Review of the book: CLR via C# (2nd edition).

Introducing LINQ – Part 5

Granville Barnett, Jun 06, 2007
Views: 51,575 Avg Rating: 5/5 Votes: 1 Comments: 4

In this part of the series I will explain the DataContext class in depth through a series of examples and explanations.

Book Review: Essential C# 2.0

Granville Barnett, May 21, 2007
Views: 4,870 Avg Rating: 4/5 Votes: 1 Comments: 0

Granville Barnett reviews the excellent Essential C# 2.0 book written by Mark Michaelis.

Introducing LINQ – Part 4

Granville Barnett, May 16, 2007
Views: 85,237 Avg Rating: 4/5 Votes: 3 Comments: 12

In the previous few parts of this series we have talked a lot about what LINQ can give you, in this part of the series we will use LINQ, ASP.NET and ASP.NET AJAX to replicate the to-do list that Scott Guthrie created a while back to show off the features of ASP.NET AJAX.

Polymorphism and Encapsulation

Brian Mains, Apr 27, 2007
Views: 193,970 Avg Rating: 3/5 Votes: 8 Comments: 7

Polymorphism and encapsulation are two big words in OO development, and are also a fundamental concept of software development. This article will demystify these concepts by showing you some real world examples.