Quantcast
Channel: Code Wala » C# 3.0
Browsing all 15 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Exploring Action Delegate

We used delegate a lot in some or other way. Like as we know, the event base model that we use in windows as web programming, is based on delegate only. I am in the habit of using delegates often. In...

View Article



Image may be NSFW.
Clik here to view.

String.IsNullOrEmpty

Might be some of you already using this. But for others it could be a great utility method. We use a method static method IsNullOrEmpty of string in most of our daily task/Projects a lot. It works fine...

View Article

Image may be NSFW.
Clik here to view.

IS vs AS operators : Performance Implications

If you are working as a C# programmer. You must know, the differences and performance implications of these operators IS vs AS. Some people who has not enough information about this, it’ll be helpful...

View Article

Image may be NSFW.
Clik here to view.

Some basics about C#

I have seen a lot of confusion amongst a lot developers about some basic things of C#. I am going to discuss some of them here. The very first thing, In C# every thing is a struct or a Class. And every...

View Article

Image may be NSFW.
Clik here to view.

Generics and Constraints over Generics

In this post,  I am going to discuss about Generic Classes and bit more on this.  Just for a smooth start, “Generics were introduced in .NET 2.0, which provides us a way to create Classes/Methods/Types...

View Article


Image may be NSFW.
Clik here to view.

Exploring Nullable types : Part 1

In this post, I am going to talk about Nullable types. Actually most of developers know, in c# we have mainly two types. - Reference type - Value type. But we have more type, that is called Nullable...

View Article

Image may be NSFW.
Clik here to view.

Exploring Nullable types : Part 2

This is second and last part of the post on Nullable type series. You can view the first part from here Exploring Nullable types : Part 1 In this series, I will talking certain rules that we need to...

View Article

Image may be NSFW.
Clik here to view.

Learning null-coalescing operator

I am pretty sure that most of the guys has never knew this operator and its also very rarely used. Since C# provides this and this is very useful and handy at certain times. The short from of...

View Article


Image may be NSFW.
Clik here to view.

Reading Event logs efficiently using C#

This post is extension is my last post on Event Viewer. Please the find the link below. Working with EventViewer using C# We’ll be talking about the reading event logs. In my last post I discussed...

View Article


Image may be NSFW.
Clik here to view.

What is SecureString ?

In this post, we are going to discuss a class SecureString. Although this class is available since .NET 2.0, but I am sure, many of us would not be knowing or using it. Even I was not aware of this...

View Article

Image may be NSFW.
Clik here to view.

Passing a reference type using ref keyword

In this post, I am going to talk about ref keyword in C#. You all must be knowing the basic use of this keyword. But for them who are new to this keyword or C#, will explain the basics. ref keyword is...

View Article

Image may be NSFW.
Clik here to view.

How to use two different languages in a .NET Project

Did you ever try to use two languages in some of your project? Or Say you created a Class in VB.NET and used in C# code. As .NET provides us the capability to use multiple languages in same project,...

View Article

Image may be NSFW.
Clik here to view.

How to Override Finalize method in C#

Being a .NET Developer, you must have basic information about Garbage Collector. Garbage Collector is a boon for .Net developers which takes care of memory management for .NET programs in the...

View Article


Image may be NSFW.
Clik here to view.

Concurrency vs Multi-threading vs Asynchronous Programming : Explained

Recently, I was speaking in an event and I asked a question to the audience in between my talk about Asynchronous programming , I found that some of the people were confused between multi-threading and...

View Article

Image may be NSFW.
Clik here to view.

Singleton vs Static class : Key Differences and Usages

The debate about Singleton vs Static is quite old and it is still continuing and there are lots of confusion around this as well. In this post, I am trying to explain these two concepts, key...

View Article

Browsing all 15 articles
Browse latest View live




Latest Images