AspNETSource
Free Source and Tutorials: ASP.NET, C#, HTML5, jQuery and more

.NET Languages - C#

Articles for the C# language

 
Try Catch vs. Using Posted At: 2/18/2009
Maybe, you wonder which is better choice: "try/catch" or "using" ?
Events and Delegates - Part I Posted At: 12/8/2008
This is part one of a series of posts on events and delegates, a powerful means of implementing loosely-coupled designs. This part will focus on delegates.
Events and Delegates - Part II Posted At: 12/8/2008
This part presents a simple example of how to publish and subscribe to an event that does not send data. Note that events such as button clicks, that generate no data can avail of the EventHandler del[read more]
What are C# Generics - Part I Posted At: 12/8/2008
They say the best developers are lazy. I used to believe this and would cite code reuse as justification for my inertia! For a long time now, I have been intending to use generics and collections more[read more]
What are C# Generics - Part II Posted At: 12/8/2008
I'm going to keep this as simple as possible. Your main goal is to gain an appreciation of why we would want to use generics in the first place.
What are C# Generics - Part III Posted At: 12/8/2008
Personally, I think I am still in the process of making the final paradigm leap to generics. It will probably be some time yet before I am satisfied that I am applying the concept creatively enough in[read more]
C# Features in Framework 3.0 Posted At: 9/19/2008
list of new features of C# language in Framework 3.0
Introduction to strongly Typed Data Sets Posted At: 9/28/2009
This article teaches how to create a strongly-typed dataset class library in your C# database applications. Our objectives are as follows: * Learn what an strongly-Typed Data Set is * Let[read more]
[read more] Vote:   Yes   No 
OpenGL and C# - Part 1 Posted At: 9/28/2009
I’m glad to be the first one writing about OpenGL at this site. What I want to show you in this article is that it is fairly easy to setup a form that is capable of showing 3D. We will accomplish this[read more]
[read more] Vote:   Yes   No 
Iteration Methods Posted At: 9/28/2009
I’ve been implementing numerical libraries in .NET and have come to some conclusions about iteration performance. My classes have to hold a large amount of data and be able to iterate through that dat[read more]
[read more] Vote:   Yes   No 
How to POP3 in C# Posted At: 9/28/2009
This is the second in a series of articles on Internet programming with Microsoft's new C# programming language. In the first article, I wrote a simple SMTP class. In this article, I'm going to write [read more]
[read more] Vote:   Yes   No 
Events and Delegates Posted At: 9/28/2009
This article will deal with Event and delegates in C#. C# Open a new door by including the feature of Event Driven programming such as Events and Delegates. This article is part of the series that hel[read more]
[read more] Vote:   Yes   No 
How To: Starting Processes From C# Posted At: 9/28/2009
A C# program can launch another program using the Process class. The Process class is part of the System.Diagnostics namespace. You start another program by instantiating a Process object, setting m[read more]
[read more] Vote:   Yes   No 
Exception Handling in C# Posted At: 9/28/2009
In the absence of exceptions the classic way to handle errors is to intertwine your statements with error checks...
[read more] Vote:   Yes   No 
C# and the Web: Writing a Web Client Application with Managed Code in the Microsoft .NET Framework Posted At: 9/28/2009
When the author wanted to build a middleware Web client to connect to other applications over the Internet, he realized that the XMLHttpRequest COM object was not sufficient for his purposes. In order[read more]
[read more] Vote:   Yes   No 
C# For Beginners Posted At: 9/28/2009
Microsoft. NET is one of the latest and new technologies introduced by Microsoft Corporation. Nowadays we use to connect to the internet using a computer and a remote computer responses via a web pa[read more]
[read more] Vote:   Yes   No 
An Introduction to C# Posted At: 9/28/2009
C# (pronounced "C sharp") is a new language designed by Microsoft to combine the power of C/C++ and the productivity of Visual Basic. Initial language specifications also reveal obvious si[read more]
[read more] Vote:   Yes   No 
A* pathfinding search in C# - Part 1 Posted At: 9/28/2009
Last Sunday after I got back from church I read Kirill Osenkov’s post Algorithms in C#: shortest path around a polygon (polyline routing). Kirill mentions Eric Lippert’s excellent series of posts titl[read more]
[read more] Vote:   Yes   No 
Creating Excel spreadsheets .XLS and .XLSX in C# Posted At: 9/28/2009
Recently I had to implement some code to create an Excel spreadsheet/report using C#. The task was: given an Excel spreadsheet template - a .XLS file (with formulas, pivot tables, macros, etc) I ha[read more]
[read more] Vote:   Yes   No 
Papers | Resume | Translator | Email Regex matching and naming groups in C# Posted At: 9/28/2009
Let’s say you have a string and want to match individual groups of characters within that string. How would you do that? That’s the question I asked myself. The following code is the outcome of some [read more]
[read more] Vote:   Yes   No