Quantcast
Channel: Ashish Khandelwal
Browsing all 100 articles
Browse latest View live

Quick and Short: Composite Pattern

This article is written under ‘Quick and Short’ edition. In this article I will explain about Composite Design Patterns. Read more Quick and Short articles. Read more about design patterns [Factory],...

View Article


Quick and Short: Decorator Pattern

This article is written under ‘Quick and Short’ edition. In this article I will explain about Decorator Design Patterns. Read more Quick and Short articles. Read more about design patterns [Factory],...

View Article


Quick and Short: Façade Pattern

This article is written under ‘Quick and Short’ edition. In this article I will explain about Façade Design Patterns. Read more Quick and Short articles. Read more about design patterns [Factory],...

View Article

Quick and Short: Chain of Responsibility (COR)

This article is written under ‘Quick and Short’ edition. In this article I will explain about Chain of Responsibility (COR)  Design Patterns. Read more Quick and Short articles. Read more about design...

View Article

Quick and Short: Proxy Pattern

This article is written under ‘Quick and Short’ edition. In this article I will explain about Proxy Design Patterns. Read more Quick and Short articles. Read more about design patterns [Factory],...

View Article


Quick and Short: Template Pattern

This article is written under ‘Quick and Short’ edition. In this article I will explain about Template Design Patterns. Read more Quick and Short articles. Read more about design patterns [Factory],...

View Article

Quick and Short: Difference between DELETE and TRUNCATE – SQL Server

This article is written under ‘Quick and Short’ edition. In this article I will explain about Difference between DELETE and TRUNCATE method. Read more Quick and Short articles. Difference between...

View Article

Factory Vs Abstract Factory Pattern

Hi What is the basic difference between Factory Pattern and abstract factory pattern. I have read these pattern on a book but could not understand core diffeence between them Pls explain, or post a url...

View Article


Shallow copy and Deep copy (in prototype patterns)

There are two types of cloning: Shallow cloning: In shallow copy only that object is cloned, any objects containing in that object is not cloned. For instance consider we have a customer ‘ClsCustomer’...

View Article


Data Transfer/Migrate from Oracle to MS SQL Database

By : Nagabhushanam Ponnapalli I was involved in a recent project to migrate an Oracle database to Microsoft SQL Server 2000, and successfully migrated all Oracle objects to SQL Server. This experience...

View Article

Different ways to use Delegates

Here is the example covers all different ways to use the delegate – Just copy and paste the code: How to use Delegate How to use Multicast Delegate How to Call specific method from Multicast Delegate...

View Article

.Net Generics

What is Generics? When we look at the term “generic”, unrelated to the programming world, it simply means something that is not tied to any sort of brand name. For example, if we purchase some generic...

View Article

C#: Generic Method

The goal of Generic Method is to build a swap method that can operate on any possible data type (value-based or reference-based) using a single type parameter. Due to the nature of swapping algorithms,...

View Article


C#: Generic Enum

The problem A common problem in any application is to present a user-friendly list of options in a drop down list, while for processing or storage convenience, an enum or other set of constants is used...

View Article

Which Versions of the .NET Framework Support Generics?

Generics are only supported on version 2.0 and above of the Microsoft .NET framework, as well as version 2.0 of the compact framework. Refer: http://msdn.microsoft.com/en-us/library/aa479866.aspx...

View Article


Can I Use Generics in Web Services?

Unfortunately, no. Web services have to expose a WSDL-based contract. Such contracts are always limited by the expressiveness of the message format being used. For example, HTTP-GET based web services...

View Article

Can I Use Generics in .NET Remoting?

Yes. You can expose generic types as remote objects, for example: public class MyRemoteClass<T> : MarshalByRefObject {...} Type serverType = typeof(MyRemoteClass<int>);...

View Article


Can I Use Visual Studio 2003 or the .NET Framework 1.1 to Create Generics?

Unfortunately no. Generics are only supported on version 2.0 and above of the Microsoft .NET framework. Code that relies on generics must run on version 2.0 of the CLR. Because of the way the CLR...

View Article

Multithreading

Definition of Threads In order to understand multithreading we first have to understand threads. Each application/program that is running on a system is a process. The process for each program consists...

View Article

Thread Synchronization in .Net

In this article i will discuss about various thread synchronization techniques available in .Net. What is thread synchronization? Imagine the following lines of code: Dim X as Integer X = 1 X = X + 1...

View Article
Browsing all 100 articles
Browse latest View live