C# Corner

Related resources for Generics
  • Default(T) In Generics9/27/2017 11:06:13 PM. Default represents default value of T parameter in generics intructions. In several cases, the default keyword is an absolute unknown and we think it’s unnecessary or its functionality is null. There
  • Generics In C# With Example6/21/2017 3:26:01 AM. In this article, we will learn what Generics and how to use it with example.
  • Equality Operator (==) With Inheritance And Generics In C#4/30/2017 10:44:15 AM. Equality Operator (==) With Inheritance And Generics In C#.
  • Generics, Constrains, Covariance, And Contra Variance3/10/2017 2:02:43 AM. In this blog, you will learn about Generics, Constrains, Covariance, and Contra Variance.
  • Generics In C# and .NET2/16/2017 11:00:31 AM. In this blog, you will learn about Generics in C# and .NET.
  • Reuse Your Code .. Generic Save/Load!1/24/2017 4:05:27 PM. Get the overview of Generic C# .NET Object Save/Load pattern and code.
  • Basics Of Generics In C#12/20/2016 6:37:07 PM. This blog will define the basics of Generics in C#.
  • Power Of Reflection, Generics, Extension Method When Combined11/3/2016 1:57:12 PM. In this blog, you will learn about Reflection, Generics, and Extension methods
  • Creating "Double Linked Dictionary" (DLD) By Wrapping Dictionary Generics9/19/2016 12:59:18 AM. In this blog, you will learn how to create “Double Linked Dictionary” (DLD) by Wrapping Dictionary Generic.
  • Understanding <T> In C#5/18/2016 4:54:37 AM. In this article you will learn about what is &lt;T&gt; in C#.
  • Learn Tiny Bit Of C# In 7 Days - Day 45/12/2016 11:57:13 AM. In this article you will learn about Delegates, Enums, Attributes, Generics in C#. This is part 4 of the series.
  • Generics In C#5/8/2016 1:30:32 AM. In this article you will learn about Generics in C#.
  • What is Generics Use of Generics in C#12/29/2015 8:00:09 AM. This blog pen down to explain basics of C# generics with simple example.
  • Generics And Generic Collections In C#12/16/2015 12:46:02 PM. In this article you will learn about Generics and Generic Collections in C# language.
  • Implementing Repository Pattern And Dependency Injection In ADO.NET Using Generics In C#12/13/2015 12:19:05 PM. In this article you will learn about implementing Repository pattern and Dependency Injection in ADO.NET using Generics in C#.
  • MyFluent - A Validation Framework using .Net Generics and Lambda Expressions (Fluent paradigm)11/21/2015 12:08:03 AM. In this article you will learn A Validation Framework using .Net Generics and Lambda Expressions (Fluent paradigm).
  • A Simple Way to Learn Generics11/20/2015 3:40:01 AM. In this article we will look at the basics of generics. Generics is a mechanism offered by the Common Language Runtime (CLR) and programming languages that provide one form of code re-use and algorithm re-use.
  • Introduction to Generics in C#4/20/2015 8:41:13 PM. This article describes about introduction to Generic Class, Methods, Delegates and Interfaces in C# programming.
  • Generic Binary Search Tree With Keyed Values Using C#1/30/2015 11:38:28 PM. A Binary Search Tree (BST) is a binary tree (max. 2 childs per node) with every node a key and associated value.
  • The quest for the Generic Singleton in C#10/18/2014 12:24:02 PM. While it is a bit tricky to implement the Singleton pattern in C#, the steps necessary are well known. There has however been debate about a generic solution for this. This paper provides 3 possible solutions for the generic singleton, and makes a brief comparison.
  • Generics in C# - Part II9/3/2014 11:56:12 PM. In part II of generics in C# we will see how to create generic classes, structures, interfaces, and delegates. We will also see how to create a custom generic collections.
  • Generics in C# - Part I9/3/2014 11:48:59 PM. In Part I of this series you will see the importance of generics, you will learn how to use generic types which in the System.Collections.Generic namespace and you will also learn how to create generic methods.
  • Importance of Generics in C#9/3/2014 2:17:05 PM. This article explains the importance of Generics in C# and how to implement them.
  • An Example of Generics Using C# in ASP.Net5/28/2014 10:33:46 AM. This article explains how generics are useful over non-generics and explains how to reuse code using generics.
  • A Basic Understanding of Generic List5/16/2014 4:38:36 PM. This article provides a basic introduction to the Generic List.
  • Basics of Generic Classes in C#5/1/2014 11:38:47 AM. This article explains how to use a Generic class and why we need to use it.
  • Generics in C#1/11/2014 3:11:12 PM. This article is all about generics in C# and how to improve performance overhead.
  • The Basic Concepts of Generics in C#12/27/2013 7:05:34 AM. In this article I explain the basic concepts of Generics in C#.
  • Custom Generic EventArgs10/26/2013 9:27:16 AM. Before .NET 2.0, I found myself frequently creating custom EventArgs classes just to return a value from an event and would end of with a lot of extra classes bloating my code base that all basically had the same purpose.
  • Generics in C#10/11/2013 5:33:17 AM. Generics allow us to define type-safe classes without worrying about type safety and performance.
  • Generics in .Net9/27/2013 1:09:41 PM. This article introduces Generics of .Net (actually the Common Language Infrastructure (CLI)).
  • Generics in C#9/17/2013 5:22:08 AM. In this Blog I am going to explain about Generics.
  • All about Generics7/20/2013 1:34:45 PM. Using this article we will learn all about generics in C#.
  • Generics in Java7/10/2013 12:23:36 PM. This article provides a brief overview of Generics. After this article one will be capable of working with Java Generics.
  • Constraints in Generics3/28/2013 3:12:32 PM. Constraints are used in Generics to restrict the types that can be substituted for type parameters. Here we will see some of the commonly used types of constraints.
  • Generics in .NET3/27/2013 5:30:49 PM. In the following article we will see how to use Generics in .NET.
  • Using Generics With C#3/5/2013 9:47:11 PM. Generics cater many of the benefits of strongly typed collections as well as provide higher quality and performance boost code.
  • Implementing Generics Classes and Functions In C# Programs2/13/2013 3:15:44 PM. Today we'll have a look at how we can implements generics in our program and how we can make our functions, code more robust and less prone to changes in program code.
  • Generics in C#.NET2/4/2013 3:55:35 AM. Generics methods in C#.NET
  • Manage Data in a VB Application (without the Database)11/9/2012 11:12:02 AM. This article provides an approach to building an application that may be used to collect, store, and retrieve data without relying upon a database to get there.
  • Downcasting in Visual Basic.NET11/9/2012 6:32:54 AM. This article describes a simple approach to downcasting in Visual Basic; downcasting merely refers to the process of casting an object of a base class type to a derived class type.
  • New features in C# 2.010/13/2012 5:19:59 AM. In this article, I will learn about and use the new features in C# 2.0 added by the Microsoft designers, such as generics, anonymous methods, partial types, static classes, nullable types, and limiting access to properties.
  • Generics in C#10/13/2012 2:54:28 AM. Parametric Polymorphism is a well-established programming language feature. Generics offers this feature to C#. The best way to understand generics is to study some C# code that would benefit from generics.
  • Language Extensions in C# 2.010/13/2012 2:14:38 AM. This article intends to the C# 1.x developers and covers what-why-how the new enhancement .The philosophy behind the document is to have quick update on C# 2.0 and leverage this in your day to day development work.
  • An Elegant C# Data Access Layer using the Template Pattern and Generics10/4/2012 8:40:49 AM. The GOF Template pattern coupled with .NET 2.0 Framework generics provides an awesome synergistic alliance. This article demonstrates how to drastically reduce the amount of code required in building a data access layer. Less code to debug... less code to break... less code to maintain... what could be better?
  • An Introduction to C# Generics9/29/2012 7:46:08 AM. There is a reality; most of the developers confuse about C# Generics. Actually, there is no reason for that. If your background comes from C++ or Java you may understand more easily. What “Templates” tell you from your C++ knowledge or “Generics” from Java.
  • Introduction of Generics in Java4/19/2012 5:55:46 PM. In this article we are going to describe a new concept of Java which was introduced in J2SE 5.0. In this the system allows a type or method to operate on objects of various types while providing compile time safety.
  • Using generics to build generic data logic layers10/11/2011 3:30:00 AM. Generics Use to Imrove your Code
  • Managed Extensibility Frameowork + Generics9/23/2011 6:43:52 AM. In this blog we are going to learn how we could use Managed Extensibility Framework along with Generics .
  • Generics in C#6/14/2011 5:33:43 AM. The simple generics program in C#.
  • Generics in .NET4/23/2011 12:07:38 PM. An introduction to Generics
  • Generics in C#3/31/2011 8:41:52 PM. How to use generics in C#.
  • Advantages of generics2/13/2011 12:51:09 PM. Advantages of generics
  • Generics in VB.NET9/28/2010 7:32:50 AM. This article shows Generics in VB.NET.
  • Enforced Rigorous Type Safety In Managed COBOL Using Generics6/20/2010 1:09:10 PM. Generics allow Managed COBOL to be a fully type safe programming language with some huge payoffs for programmer productivity.
  • Downcasting in Visual Basic.NET3/2/2009 3:51:36 AM. This article describes a simple approach to downcasting in Visual Basic; downcasting merely refers to the process of casting an object of a base class type to a derived class type. Upcasting is legal in Visual Basic as the process there is to convert an object of a derived class type into an object of its base class type. In spite of the general illegality of downcasting you may find that when working with generics it is sometimes handy to do it anyway.
  • Downcasting in C#3/2/2009 12:13:35 AM. This article describes a simple approach to downcasting in C#; downcasting merely refers to the process of casting an object of a base class type to a derived class type. Upcasting is legal in C# as the process there is to convert an object of a derived class type into an object of its base class type. In spite of the general illegality of downcasting you may find that when working with generics it is sometimes handy to do it anyway.
  • Downcasting in C#3/2/2009 12:13:35 AM. This article describes a simple approach to downcasting in C#; downcasting merely refers to the process of casting an object of a base class type to a derived class type. Upcasting is legal in C# as the process there is to convert an object of a derived class type into an object of its base class type. In spite of the general illegality of downcasting you may find that when working with generics it is sometimes handy to do it anyway.
  • Generics in C#11/26/2008 9:13:32 AM. Generics are the most useful C# 2.0 language extensions, beside Anonymous methods, Iterators, Partial types And Nullable types.
  • Generics in VB.NET9/17/2008 5:20:29 PM. In this article, I specifically talk about Generics in VB.NET and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
  • Generics in VB.NET9/17/2008 5:20:29 PM. In this article, I specifically talk about Generics in VB.NET and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
  • Power of Yield, Generics and Array in C#7/15/2008 1:18:21 AM. This article tells you an additiional way to get reverse processing of array with help of generics and yield.
  • Generics in .Net 2.0 made simple 6/23/2008 12:57:32 AM. Generics provide the solution to a limitation in earlier versions of the common language runtime and the C# language in which generalization is accomplished by casting types to and from the universal base type Object. By creating a generic class, you can create a collection that is type-safe at compile-time.
  • Generics in .Net 2.0 made simple 6/23/2008 12:57:32 AM. Generics provide the solution to a limitation in earlier versions of the common language runtime and the C# language in which generalization is accomplished by casting types to and from the universal base type Object. By creating a generic class, you can create a collection that is type-safe at compile-time.
  • Casting in generics collection6/10/2008 11:30:02 PM. On of the design issues i have heard come up frequently is casting objects of a derived type to its base type. Using generics we cannot cast a collection of derived types to its base type...unless we create a collection based upon an Interface
  • Using LINQ to Objects in Visual Basic5/26/2008 10:20:16 AM. This article provides an introduction to employing LINQ to Objects queries to support a simple Visual Basic Win Forms application; the article addresses the construction of LINQ to Objects statements and then goes on to describe how one might use LINQ to Objects within the context of an actual application.
  • Using LINQ to Objects in Visual Basic5/26/2008 10:20:16 AM. This article provides an introduction to employing LINQ to Objects queries to support a simple Visual Basic Win Forms application; the article addresses the construction of LINQ to Objects statements and then goes on to describe how one might use LINQ to Objects within the context of an actual application.
  • Manage Data in a VB Application (without the Database)5/20/2008 3:08:24 AM. This article provides an approach to building an application that may be used to collect, store, and retrieve data without relying upon a database to get there.
  • Manage Data in a VB Application (without the Database)5/20/2008 3:08:24 AM. This article provides an approach to building an application that may be used to collect, store, and retrieve data without relying upon a database to get there.
  • Manage Data in a Win Forms Application (without the Database)5/12/2008 6:04:13 AM. This article provides an approach to building an application that may be used to collect, store, and retrieve data without relying upon a database to get there.
  • Generics in C# 2.08/17/2007 4:33:38 AM. In this article, I just try to discuss on type safe data structures with the help of Generics in C# 2.0.
  • What is new in C# 2.0?8/13/2007 10:06:35 AM. In this article, I discuss new features added to C# 2.0.
  • TDO - Typed Data Object 2.05/3/2007 12:57:23 AM. Tdo – Typed Data Object is a set made up of a base classes library and a .NET 2.0 source code generator for Data Layers based on Ms Sql Server 2000/MSDE/2005/EXPRESS databases and the .NET Framework 2.0.
  • What the heck is Generics?1/30/2007 5:45:07 AM. Generics are new addition to C# 2.0. This article provides the use of generics and scenarios in which it will be useful.
  • Limitations of ArrayLists in VB.Net11/23/2006 12:28:43 AM. This article discusses some features of ArrayLists and there shortcomings/limitations.
  • Limitations of ArrayLists in VB.Net11/23/2006 12:28:43 AM. This article discusses some features of ArrayLists and there shortcomings/limitations.
  • New Features in C# version 2.0 - Partial Types8/31/2006 1:57:33 AM. Partial types are new addition to C# language version 2.0, which is available with the .NET Framework 2.0 or Visual Studio 2005. This article discusses the partial classes and how to create and use them in your applications.
  • Generics in C# 2.04/17/2006 2:35:11 AM. This articles comes in series with my last article - <a href= http://www.c-sharpcorner.com/UploadFile/Saurabh.Mishra/GenericsInC2PartI04122006074306AM/GenericsInC2PartI.aspx class=normal>Limitations in ArrayLists</a>. In this article, I specifically talk about Generics and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
  • Generics in C# 2.04/17/2006 2:35:11 AM. This articles comes in series with my last article - <a href= http://www.c-sharpcorner.com/UploadFile/Saurabh.Mishra/GenericsInC2PartI04122006074306AM/GenericsInC2PartI.aspx class=normal>Limitations in ArrayLists</a>. In this article, I specifically talk about Generics and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
  • Limitations of ArrayLists in C#4/17/2006 2:04:19 AM. This article discusses some features of ArrayLists and there shortcomings/limitations.
  • New features in C# 2.02/21/2006 1:19:26 AM. In this article, I will learn about and use the new features in C# 2.0 added by the Microsoft designers, such as generics, anonymous methods, partial types, static classes, nullable types, and limiting access to properties.
  • Generics in C# 2.02/2/2006 1:09:55 AM. In this article we will see how we can use generics in C#, we have read this concept as templates in C++.
  • Generics in C# 2.02/2/2006 1:09:55 AM. In this article we will see how we can use generics in C#, we have read this concept as templates in C++.
  • New Features in C# 2.0 : Part 112/19/2005 5:11:40 AM. In a two part series I will explain new features introduces in C# language version 2.0. In this article I will talk about generics.
  • What the heck is Generics?12/19/2005 12:26:59 AM. This article provides the use of Generics and scenarios in which it will be useful.
C# Language Specification 5.0
This book provides a complete description of the C# language 5.0.
Download