| |
|
Maybe, you wonder which is better choice: "try/catch" or "using" ?
|
|
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.
|
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]
|
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]
|
|
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.
|
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]
|
|
list of new features of C# language in Framework 3.0
|
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]
|
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]
|
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]
|
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]
|
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]
|
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]
|
|
In the absence of exceptions the classic way to handle errors is to intertwine your statements with error checks...
|
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]
|
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]
|
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]
|
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]
|
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]
|
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]
|