TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
About generic
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Jaimin Shethiya (5)
Sandeep Singh Shekhawat (3)
Jin Necesario (2)
Vithal Wadje (2)
Ehsan Sajjad (2)
Dinesh Gabhane (2)
Akhil Mittal (2)
Sardar Mudassar Ali Khan (2)
Jitendra Mesavaniya (2)
Ajay Kumar (2)
Vulpes (2)
Munib Butt (2)
Mahesh Chand (2)
Amr Monjid (2)
Scott (2)
Kautilya Utkarsh (1)
Josue Molina (1)
Rupesh Kahane (1)
Vijay Yadav (1)
Habibul Rehman (1)
Siddhesh Chavan (1)
Tahir Ansari (1)
Tom Mohan (1)
Teddy Kurian (1)
Rajeev Ranjan (1)
Punar Dutt Rajput (1)
Sarthak Varshney (1)
Igor (1)
Bhuvanesh Mohankumar (1)
Rahul Singh (1)
Ravi Satyadarshi (1)
Anand Kumar Rao (1)
Chandra Hundigam (1)
Santhosh Veeraraman (1)
Faisal Pathan (1)
Saurabh (1)
Ahmed Abdel Ghany (1)
Manoj Bhoir (1)
Jagannath Sethi (1)
Richa Garg (1)
Vidya Vrat Agarwal (1)
Gurpreet Arora (1)
Kirtan Patel (1)
Sridhar Subramanian (1)
Kiranteja Jallepalli (1)
Manish Kumar Choudhary (1)
Arindam Dawn (1)
Esamaldin Mohammed (1)
Santosh Gadge (1)
Jaydeep Patil (1)
Dipen Lama (1)
Ashish Shukla (1)
Akhil Garg (1)
Harpreet Singh (1)
Nishant Mittal (1)
John Godel (1)
Sridhar Aagamuri (1)
Manikandan M (1)
Shivam Payasi (1)
Santhosh Kumar Jayaraman (1)
Chris Blake (1)
Pawan Pandey (1)
Ramakrishna Basagalla (1)
Aman Panjwani (1)
Anmol Arora (1)
Mohamed Hasan (1)
Matea Andrei (1)
Lajapathy Arun (1)
Devesh Omar (1)
Periyasamy Vellingirisamy (1)
Varun Setia (1)
Nimit Joshi (1)
Rohatash Kumar (1)
Sachin Kalia (1)
Khushbu Saini (1)
Manisha Sonawane (1)
Abhishek Goswami (1)
Kenneth M H (1)
Juan Francisco Morales Larios (1)
mingyongy (1)
Vladimir 0 (1)
Related resources for generic
No resource found
TypeScript Essential Features
10/7/2024 4:39:58 AM.
TypeScript offers essential features that enhance JavaScript development, including static typing, type inference, and support for interfaces and generics. It provides tools like classes, enums, and m
How C# Generics is different from Java Generics
9/24/2024 11:29:42 AM.
In this article, we explore the distinctive features of C# generics and how they enhance programming efficiency. We compare generics with non-generic types, focusing on benefits like type safety, code
Action And Func Delegates In C#
9/12/2024 6:18:26 AM.
In C#, Action, and Func are generic delegates used to handle methods. Action is used for methods that don't return a value, while Func returns a value. Action<int> executes a method with an
CRUD Operation Using Repository Unit Of Work Pattern
9/12/2024 5:44:14 AM.
Create an ASP.NET MVC project in Visual Studio 2013, add a class library, and set up a SQL Server database. Implement Entity Framework with an EDMX model, then use the Repository pattern for CRUD oper
Guide to Dependency Injection in .NET Core
8/13/2024 5:17:44 AM.
Dependency Injection (DI) in .NET Core enhances application design by promoting loose coupling, improved testability, and maintainability. It involves injecting services via constructor injection, wit
Func, Action And Local Function In C# 7
8/9/2024 12:03:08 PM.
This article covers using Func, Action, and local functions in C# 7. It explains how Func returns a value, Action does not, and how local functions can be defined within other methods. Examples includ
Generic Repository with EF Core Store Procedure in .NET Core 8
7/16/2024 12:40:58 PM.
Entity Framework Core (EF Core) empowers .NET developers with seamless database interaction through object-relational mapping (ORM) and support for stored procedures. It optimizes performance by execu
Understanding the Art of C# Generics
7/10/2024 2:04:05 PM.
Unlock the power of C# Generics with our comprehensive guide. Master best practices, explore advanced scenarios, and elevate your coding skills with this in-depth C# Generics tutorial. Learn to write
Generic Repository with EF Core in .NET Core 8
7/3/2024 9:18:09 AM.
Observe the Entity Framework Core Generic Repository! The subject that will make some people uncomfortable. They are unwilling to discuss it at all. Others, on the other hand, adore it and become gidd
Convert Generic List Into XML In ASP.NET MVC
6/19/2024 9:55:07 AM.
In this tutorial, learn to convert dynamic data stored in generic lists to XML files using ASP.NET MVC. This approach simplifies managing complex data types, such as customer orders with multiple item
Func Delegates in .NET Core C#: Syntax, Usage and Examples
6/13/2024 5:09:03 AM.
Func and Action are two generic delegate types that are built into C#, so you usually don't need to explicitly define custom delegates. A generic delegate called Func is part of the System namespa
Fix Generic Error in Custom Activity Using Batch Account in ADF
6/11/2024 11:25:29 AM.
While executing a C# code in custom activity using batch activity in ADF sometimes it would get the error "The underlying connection was closed: An unexpected error occurred on a send. ---> Sy
Implementing Repository Pattern And Dependency Injection In ADO.NET Using Generics In C#
6/4/2024 9:49:21 AM.
Learn how to implement design patterns in an object-oriented paradigm to create generic solutions. This guide covers a practical example where a web application interacts with a database using the rep
UnderStanding nameof Operator in C#
5/28/2024 7:20:47 AM.
The nameof Operator retrieves names of variables or members dynamically, aiding in code maintenance. Raising PropertyChanged Event notifies property changes in INotifyPropertyChanged implementations.
RESTful Day 1: Enterprise Level Application Architecture With Web APIs Using Entity Framework, Generic Repository Pattern and Unit of Work
5/24/2024 4:57:55 AM.
Explore the intricacies of Web APIs, leverage Entity Framework for seamless data access, implement the efficient Generic Repository Pattern, and ensure transactional integrity with the Unit of Work pa
Understanding Generic Constraints in C#
5/21/2024 5:41:04 AM.
Generics in C# allow you to define classes, methods, and interfaces with a placeholder for the type of data they store or use. This flexibility enables you to write more general and reusable code.
Exploring in Depth Of Abstraction in C#
5/14/2024 11:09:13 AM.
Dive deep into abstraction in C#, exploring OOP concepts like encapsulation, inheritance, and polymorphism. Learn about abstract classes, interfaces, generics, and advanced features like delegates and
CRUD Operations Using the Generic Repository Pattern and Dependency Inversion Principle With IoC Container and DI in MVC
5/13/2024 11:17:00 AM.
Learn how to implement CRUD operations using the Generic Repository Pattern and Dependency Inversion Principle (DIP) in an MVC application. Explore the integration of an IoC Container for Dependency I
CRUD Operations Using the Generic Repository Pattern and Unit of Work in MVC
5/9/2024 11:57:10 AM.
Implement CRUD operations in MVC using the Generic Repository Pattern and Unit of Work. Abstract data access logic, promote code reusability, and maintainability. Ensure separation of concerns and sca
Dictionary in .NET C#: Syntax, Methods, and Example
5/7/2024 11:50:00 AM.
In C#, a dictionary is a generic collection that holds elements as pairs of keys and values. The Non-Generic Hashtable collection and the Generic Dictionary operate extremely similarly.
HashSet .NET C#: Usage, Methods, and Example
5/3/2024 8:40:37 AM.
A hash set is an unordered list of distinct elements in C#. In.NET 3.5, this collection is released. When we wish to stop duplicate pieces from being added to the collection, we typically utilize it.
Learn About ASP.NET HtmlGenericControl
4/30/2024 9:08:07 AM.
In this article, we'll be exploring the HtmlGenericControl of ASP.NET Webforms. What's exciting about this article will see how to create this control dynamically and combine it with some clie
.NET 4.5 Read-Only Interfaces
4/23/2024 8:58:19 AM.
.NET Framework 4.5 introduced read-only interfaces, facilitating immutability in C#. These interfaces enforce that implementing classes cannot modify properties, enhancing code predictability and safe
DNN, Formerly DotNetNuke, Tutorial - Part Four (GenericDNN Modules)
4/22/2024 8:55:39 AM.
Learn how to create a GenericDNN module using templates, simplifying module installation without manual configuration. Follow step-by-step instructions for project setup, building in Release mode, ins
What is Generics in .NET C# with example
4/15/2024 4:49:16 AM.
Generics in C# represent a cornerstone of modern software development, offering a powerful mechanism for creating reusable and type-safe code. This comprehensive article explores the fundamentals of g
Bubble Sort Algorithm in C# with Generic Method Example
4/15/2024 3:57:19 AM.
Bubble Sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order. The pass through the list is repeated until
Generic Repository Pattern With MVC
4/12/2024 7:21:48 AM.
The Generic Repository Pattern with MVC is a design approach where a generic interface is used to define CRUD operations, providing a flexible way to interact with data in an MVC application. It promo
Why we should learn C#?
2/26/2024 6:11:34 AM.
This article explores the reasons behind choosing C# over other languages, delving into its evolution, key features like object orientation, lambda expressions, LINQ, generics, and its adaptability fo
Traits and Generics in Rust
12/20/2023 11:03:17 AM.
In this article, we will explore Traits and Generics in Rust. Explore the power of Rust, a programming language known for speed, memory safety, and clever code writing. Uncover the concepts of 'tr
New Features of Rust 1.73
11/2/2023 7:18:05 AM.
Rust 1.73 is a major release that includes a number of new features and improvements, such as impl Trait syntax, generic associated types, and improved borrow checker performance. These changes make R
Power Of Yield, Generics And Array In C#
10/26/2023 11:28:54 AM.
This article tells you an additiional way to get reverse processing of array with help of generics and yield.
Generics in C#: Enhancing Code Reusability and Type Safety
10/4/2023 4:24:14 AM.
In this article, we will explore the concept of generics in C# with detailed examples, showcasing how they enhance code flexibility and maintainability.
Generics In C#
10/2/2023 8:31:51 PM.
In this article you will learn about Generics in C#.Generics in C# provide a powerful way to create classes, interfaces, methods, and delegates with a placeholder for data types. They enable developer
Convert a DataTable to Generic List Collection
9/22/2023 12:01:23 PM.
In this article, I am sharing a generic method I have developed while solving a question here on C# Corner.
Dictionary Overview In C#
9/22/2023 8:33:21 AM.
This article is an overview of Dictionary in C#. Dictionary is a generic class that belongs to the System.Collection namespace in . NET. A dictionary can store Keys and Values of any data type in .NET
Language Extensions In C# 2.0
9/13/2023 4:14:47 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 dev
Understanding Generic Type in C#
9/12/2023 5:07:25 AM.
Before we start tampering around the code, lets understand why we need a generic type?
Generic Data Layer - One time creation
9/11/2023 4:47:04 AM.
This article will explain how to create a generic data layer that can be used with very less amount of coding. It is a known fact that, most of the time we create applications for Create , Select , Up
Generic Extension Method To Map Objects From One Type To Another
9/10/2023 9:35:13 PM.
In this article, we will learn about Generic Extension method to map objects from one type to another.
Limitations of ArrayLists in C#
9/5/2023 10:13:22 AM.
This article discusses some features of ArrayLists and there shortcomings/limitations.
Generics in C#
9/5/2023 8:59:02 AM.
Generics are the most useful C# 2.0 language extensions, beside Anonymous methods, Iterators, Partial types And Nullable types.
Introduction to Generic
9/5/2023 8:34:49 AM.
This article describes an introduction to Generic Class, Methods, Delegates and Interfaces in C# programming.Generics in programming, often referred to as "generic programming" or "gene
Generic in C#
9/1/2023 12:46:42 PM.
Generics in C# 2.0 revolutionize code design by decoupling classes and methods from data types. They're key in creating strongly typed, reusable, and performant code. You declare generics using th
Working on SortedDictionary in C#
8/31/2023 10:08:00 AM.
In this article I explain how to create the SortedDictionary and perform various operations of it using its properties and methods.
Converting Dates to Words in C#
8/29/2023 10:02:10 AM.
In this article, I'd therefore like to present a simple program which does all this.
Using Generics In C#
8/26/2023 2:09:08 AM.
Learn everything about generics in C#.
Generics in C#
8/25/2023 9:14:39 AM.
Harness the Versatility of C# Generics: Boost Code Reusability and Type Safety. Dive into how Generics empower adaptable, efficient code, accommodating various data types while maintaining robust type
Equality Operator (==) With Inheritance And Generics In C#
8/21/2023 11:25:05 AM.
Equality Operator (==) With Inheritance And Generics In C#.
Creating our own Generic Stack T Class like Inbuild Stack Class
8/17/2023 6:12:49 AM.
Basic intention of this article is to teach you how to build simple generic classes by our own.
Populating a Generic Data List with Generic method
8/17/2023 5:56:35 AM.
This article describes how to use a Generic List as a data object and how to fill it with a generic method.
Collections in C#
7/26/2023 7:38:23 AM.
Learn about collections in C#, including commonly used collection types such as lists, queues, stacks, and dictionaries. This tutorial covers the basics of collections, how to use them, and how to sel
Mastering C# Enums: An Essential Guide with Examples
6/13/2023 5:06:05 AM.
Convert DataTable to List In C#
6/6/2023 9:00:47 AM.
This article shows 3 ways to convert a DataTable to a List in C#.
Unleashing the Power of a Generic Event Bus in Angular: Building a Powerful and Scalable Architecture
5/30/2023 5:43:39 AM.
A generic event bus in Angular acts as a central communication hub that enables components to publish and subscribe to events. It promotes loose coupling and enhances the flexibility and scalability o
Create Generic HttpClient Call Function With Error Handling In C#
3/9/2023 11:01:52 AM.
This article presents a step-by-step guide on how to create a generic HttpClient call function in C# that can handle different request methods, request body types, response types, and error handling u
Generic Interface And Generic Repository For Developing ASP.NET Core Web API
2/28/2023 10:40:01 AM.
In this article, you will learn about Generic Interface and Generic Repository for Developing Asp.net Core Web API.
Generation of CAPTCHA Image Using Generic Handler for Login Page
1/27/2023 8:56:27 AM.
This article explains how to create a CAPTCHA image using a generic handler.
Unit Of Work With Generic Repository Implementation Using .NET Core 6 Web API
12/4/2022 9:53:46 AM.
Unit Of Work with Generic Repository implementation using .NET Core 6 Web API.
Using The New Generic Number Interface In .NET 7
12/2/2022 4:40:21 AM.
In this article, you will learn how to use the new generic number interface in .NET 7.
Using The New Generics Pattern Matching Feature In .NET 7
12/2/2022 4:38:19 AM.
In this article, you will learn how to use the new generics pattern matching feature in .NET 7.
Sorting Collection of Custom Type using Generic
11/30/2022 9:19:46 AM.
This article shows a simple and easy way to sort the business object collection using generic.
Generic Delegates in C#
11/17/2022 6:28:43 AM.
In this article, let's try to understand generic delegates in the C# language.
Constraints in Generics
9/2/2022 10:18:23 AM.
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.
Importance of Generics in C#
9/2/2022 9:50:18 AM.
This article explains the importance of Generics in C# and how to implement them.
How to Convert an Array Into a Generic Type in C#
8/31/2022 7:13:03 AM.
In this article, we will see how to convert an array to a generic type.
Understanding <T> In C#
8/31/2022 7:01:25 AM.
In this article you will learn about what is <T> in C#.
An Introduction to C# Generics
8/25/2022 7:01:21 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”
Creating Generic Enums using C#
8/23/2022 4:57:37 AM.
An enum variable can then be set to any one of these constants or (in the case of ‘Flags’ enums) to a meaningful combination of them.
Generics in C#
8/22/2022 8:18:45 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 gen
Implement The Generic Badge View In Xamarin.Forms
8/3/2022 11:30:34 PM.
In this article, I will explain the Generic Badge in xamarin forms. We can implement the badge for Android, iOS and UWP. The plugin creates a custom renderer for each platform and a custom attached pr
Generic Delegates In C#
5/17/2022 4:18:59 PM.
Here ill describe that why we need Generic Delegates what are Generic Delegates, keyword used in Generic Delegates and their type with example
Compare 2 Objects of Generic Class Type in C#
5/11/2022 11:00:37 AM.
In this article I am going to explain how to compare 2 objects of generic class type in C#.
Generic Web Service Proxy
5/2/2022 9:02:16 AM.
In this article I will explain how you can consume a web service without using the standard Add Web Reference in Visual Studio and how to do this without using SOAP.
Generic Collection Classes in C#
5/2/2022 7:31:08 AM.
The collections the System.Collections.Generic namespace are type safe and this article explains them.
Generics And Generic Collections In C#
4/25/2022 11:36:38 AM.
In this article you will learn about Generics and Generic Collections in C# language.
Collections In C#
4/5/2022 3:17:56 PM.
The purpose of this article is to demonstrate how to work with arrays and the issues associated with them, followed by Non-Generic collections and their issues, and finally Generic collections which s
Generics in C# - Part II
4/1/2022 10:01:52 AM.
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 I
4/1/2022 9:44:48 AM.
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 generi
Usage Of STL In CPP Programming
3/23/2022 4:45:52 PM.
Standard Template Library that is considered as the bundle of template classes and pre defined functions that is highly used segment for the generic programming.
Covariance And Contravariance in C#
2/23/2022 10:10:45 AM.
In this article I will give an overview of Covariance and Contravariance.
Implement Unit Of Work And Generic Repository pattern in a Web API .NET Core Project Using EF
2/21/2022 1:40:25 PM.
Complete guide to implement Unit of Work with Generic Repository Pattern with Entity Framework in a WEB API .NET Core project
Dynamically Creating Generic List<T> and Generic Dictionary<k,T> at Runtime Using C#
2/10/2022 11:14:13 AM.
In this article we are going to see how to generate a Generic List<T> and Generic Dictionary<K,T> dynamically and add items to it.
Exporting Generic List<T> to Excel in C# Using Interop
1/11/2022 10:23:17 AM.
In this article, we will learn how to export a Generic List<T> to Excel using Interop.
IEnumerable in C#
10/29/2021 6:38:31 AM.
In this article, we will learn about the IEnumerable interface in C#. IEnumerable interface is commonly used when dealing with collections and reading a collection's items.
Generic Implementation For Serializer/Deserializer Using Google Protocol Buffer
9/24/2021 3:35:47 PM.
Serialize or deserialize the input using google protocol buffer library in generic implementation.
New Generic Collection In .NET 6 - A Priority Queue
6/17/2021 1:58:20 PM.
In this article, you will learn about the new Generic Collection in .NET 6 a Priority Queue.
Uploading Multiple Files Using jQuery and Generic Handler in ASP.Net 4.5
4/22/2021 10:06:15 AM.
This article describes how to upload multiple files in ASP.NET Web Forms using the jQuery and Generic Handler.
Generic Repository Pattern in MVC3 Application With Entity Framework: Part 6
3/17/2021 5:59:29 AM.
This article will focus on the Unit Of Work Pattern and Repository Pattern, and shows how to perform CRUD operations in an MVC application when there is the possibility of creating more than one repos
HtmlGenericControl Class in ASP.Net
2/2/2021 6:59:57 AM.
This article defines the HtmlGenericControl class in ASP.Net.
Dictionary Requires a Model Item of Type System.Collections.Generic.IEnumerable in MVC 3
2/1/2021 7:35:18 AM.
I encountered an error in the implementation of returning multiple models to a single view.
Generic Classes And Functions
1/22/2021 6:25:21 PM.
In this article, you will learn about the concept of generic classes and functions.
Generics in .Net
1/6/2021 11:04:35 AM.
This article introduces Generics of .Net (actually the Common Language Infrastructure (CLI)).
A Generic Library For Accessing and Creating Microsoft Project Plan File
1/1/2021 5:41:29 AM.
Here you will learn about a generic library for accessing and creating Microsoft Project Plan files.
Writing A Generic Data Access Component - Flexible Approach
12/7/2020 1:10:14 AM.
Here is one more flexible approach to achieve the same. I prefer this approach to generic data access.
Generic 'T, K' Database Component
11/26/2020 12:08:25 AM.
I have written a C# 2.0 (Visual Studio 2005), Generic <T, K> Database component, The component has simplified the architecture and the implementation by allowing me to keep the number of overlo
Revised Generic 'T, K' Database Component
11/25/2020 11:26:55 PM.
This is the code behind the Generic 'T, K' Database Component.
Introduction To Dapper Generic Repository
11/8/2020 9:10:16 AM.
This article introduces you to the introduction to Dapper Generic Repository.
CDataService: A Generic Database Access Class
11/2/2020 5:13:26 AM.
Using a generic database access component in data-aware applications can simply development and separate data tier from business tier.
Generic Data Access Component using Factory Pattern
11/1/2020 11:53:01 PM.
The article A Generic Data Access Component using Factory Pattern provides a very good way of creating ADO.Net data provider independent applications, but there is one problem with it. Different ADO.N
Using ADO.NET Data Providers
10/28/2020 7:01:43 AM.
In this article I will explain about using ADO.NET Data Providers.