C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
John Godel(5)
Jaimin Shethiya(5)
Juan Francisco Morales Larios(5)
Mahesh Chand(2)
Dinesh Gabhane(2)
Sardar Mudassar Ali Khan (2)
Jitendra Mesavaniya(2)
Ajay Kumar(2)
Munib Butt(2)
Ehsan Sajjad(2)
Sandeep Singh Shekhawat(2)
Priya Prajapati(1)
Aarav Patel(1)
Raghunath Bhukan(1)
Micheal Xavier A (1)
Akshay Amin(1)
Muiz Atolagbe(1)
Niharika Gupta(1)
Mariem Moalla(1)
Kiran Kumar(1)
Shubham Sidnale(1)
Jochen Bartlau(1)
Deepak Tewatia(1)
Ng Cheehou(1)
Jin Necesario(1)
Kautilya Utkarsh(1)
Vijay Yadav(1)
Sagar Rane(1)
Siddhesh Chavan(1)
Abhishek Chadha(1)
Tahir Ansari(1)
Habibul Rehman(1)
Punar Dutt Rajput(1)
Sarthak Varshney(1)
Jagannath Sethi(1)
Gurpreet Arora(1)
Arindam Dawn(1)
Esamaldin Mohammed(1)
Jaydeep Patil(1)
Manikandan M(1)
Shivam Payasi(1)
Aman Panjwani(1)
Anmol Arora(1)
Matea Andrei(1)
Periyasamy Vellingirisamy(1)
Varun Setia(1)
Khushbu Saini(1)
Usman Sheikh(1)
Abhishek Duppati(1)
Pascal Declercq(1)
Adrita Sharma(1)
Ashutosh Gupta(1)
Nirmal Dayal(1)
Pravesh Dubey(1)
Siddhesh Chalke(1)
Jamil Moughal(1)
Faisal Pathan(1)
Rajeev Ranjan(1)
Tomas Herceg(1)
Shantanu (1)
Surya Narayan Barik(1)
John Kocer(1)
Praveen Sreeram(1)
Bryian Tan(1)
Allen Oneill(1)
Ahmed Abdi(1)
Rupesh Kahane(1)
Vidya Vrat Agarwal(1)
Anil Thakur(1)
Prakash Tripathi(1)
Nishant Mittal(1)
Bhuvanesh Mohankumar(1)
Debendra Dash(1)
Michael Griffiths(1)
Vithal Wadje(1)
K P Singh Chundawat(1)
Saillesh Pawar(1)
Ramakrishna Basagalla(1)
Sridhar Sharma(1)
Mukesh Kumar(1)
Resources
No resource found
Collections in .Net (C# Guide for Beginners)
May 01, 2026.
Master .NET collections in C#! This beginner's guide covers generic, non-generic, and concurrent collections. Learn to efficiently store and manage data for APIs, databases, caching, and real-time apps.
How to Use Generics in C# to Write Reusable and Type-Safe Code
Apr 03, 2026.
Master C# generics! Learn how to write reusable, type-safe code, avoid duplication, and boost performance. Explore generic classes, methods, collections, and constraints.
From LLMs to PT-SLMs: How GSCP-15 Turns Generic Models into Governed, Enterprise-Grade Delivery
Jan 19, 2026.
Discover PT-SLMs: tailored small language models for enterprise. Learn how GSCP-15 ensures governed, cost-effective, and reliable AI delivery at scale.
Generative AI: How GSCP-15 Turns Generic Models into Governed, Enterprise-Grade Delivery
Jan 19, 2026.
Unlock enterprise-grade AI with PT-SLMs & GSCP-15. Govern generic models for controlled, cost-effective, and auditable AI delivery at scale. Learn how!
AI Agents: How GSCP-15 Turns Generic Models into Governed, Enterprise-Grade Delivery
Jan 19, 2026.
Discover how GSCP-15 transforms generic AI models into governed, enterprise-grade delivery systems using PT-SLMs for enhanced control, cost-efficiency, and auditability.
Artificial Intelligence: How GSCP-15 Turns Generic Models into Governed, Enterprise-Grade Delivery
Jan 19, 2026.
Unlock enterprise-grade AI with GSCP-15! Transform generic LLMs into governed, cost-effective PT-SLMs for reliable, scalable, and auditable AI delivery.
How Do I Use AI to Personalize Sales Outreach at Scale Without Sounding Generic?
Dec 31, 2025.
Learn how to use AI, like ChatGPT, to personalize sales outreach at scale without sounding generic. Discover proven strategies for relevance and credibility.
Exploring nameof Support for Unbound Generic Types in C# 14 (.NET 10)
Dec 29, 2025.
Unlock compile-time safety with C# 14's nameof operator for unbound generic types! Simplify logging, DI, and validation. Boost code maintainability in .NET 10.
Generics in C#: Introduction and Usage
Dec 02, 2025.
Unlock the power of Generics in C#! This guide introduces Generics, explaining how they enhance type safety and performance by deferring data type specification. Learn with examples!
Chapter 14: Templates and Generic Programming in C++
Oct 23, 2025.
Explore C++ templates, the cornerstone of generic programming. Learn how to write functions and classes that work with any data type, avoiding redundant code. Discover function templates, class templates, and template instantiation with practical examples like swap_values and a Pair class. Understand how templates power the Standard Template Library (STL).
Unit Testing: Non-Generic Collections in MSTest
Oct 07, 2025.
Struggling to unit test non-generic collections like ArrayList in MSTest? This article highlights a common pitfall: attempting to use Assert.Contains with incompatible types. Learn why the example code fails to compile and discover effective strategies for verifying the contents of non-generic collections using MSTest's assertion methods. We'll explore type checking and alternative approaches for robust unit testing.
Difference Between Generic Host and Web Host in .NET Core
Sep 12, 2025.
Understand the crucial differences between Generic Host and Web Host in .NET Core. This article clarifies their roles, evolution, and when to use each. Learn why Microsoft shifted to Generic Host for unified hosting, supporting web apps, worker services, and console applications. Discover the benefits of flexibility, scalability, and a consistent development experience. Choose the right host for your .NET Core project and future-proof your applications.
When to Use Generic vs Non-Generic Collections in C#
Aug 19, 2025.
Discover the differences between generic and non-generic collections in C#. Learn their impact on performance, type safety, and usability with examples, helping you choose the right collection for efficient development.
Collections in C#: From Arrays to Advanced Generics for Professional Developers
Jul 30, 2025.
This article provides a clear and practical overview of the most common C# collections, including arrays, lists, dictionaries, queues, stacks, and sets. It explains their key features and use cases with easy-to-understand examples of employee management.
Types of Classes in C# with Examples | Concrete, Static, Abstract, Sealed, and More
Jun 12, 2025.
Learn all the types of classes in C# with clear examples and use cases. Understand when to use abstract, static, sealed, generic, and partial classes in .NET Framework.
The Hidden Costs of Null Checks in Generic C# Code
Apr 27, 2025.
Learn how to properly perform null checks in generic C# code. Avoid hidden performance issues like boxing by using EqualityComparer<T>.Default and modern is null techniques for efficient, clean code.
How to Convert a DataTable to a List of Objects in C#
Apr 27, 2025.
Learn how to convert a DataTable to a List<T> in C#. Explore manual, reflection-based, and LINQ methods for better performance, type safety, and cleaner code. Improve maintainability in modern C# applications.
ScopedValueChanger<T> - A very helpful Generic Helper Class to Temporary Change Values
Apr 25, 2025.
This article explores the ScopedValueChanger<T> class, a utility designed to manage temporary value modifications with automatic restoration. Implementing the IDisposable interface ensures that changes made within a scoped context are reversed, maintaining application state integrity.
Essential C# Keywords
Dec 25, 2024.
This article explains important C# keywords that help in writing more efficient code. It covers keywords like volatile, value, get, set, yield, partial, and where, describing their uses in a simple manner. These concepts are essential for anyone looking to improve their C# programming skills.
Exploring Advanced Generics in C#: A Practical Guide with Examples
Nov 25, 2024.
This article aims to provide a guided tour of some advanced topics in C# generics, such as constraints, covariance and contravariance, and custom generic interfaces.
TypeScript Essential Features
Oct 07, 2024.
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 modules, enabling better code structure.
How C# Generics is different from Java Generics
Sep 24, 2024.
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 reusability, and performance optimization.
Guide to Dependency Injection in .NET Core
Aug 13, 2024.
Dependency Injection (DI) in .NET Core enhances application design by promoting loose coupling, improved testability, and maintainability. It involves injecting services via constructor injection, with services registered as transient, scoped, or singleton. DI simplifies managing complex dependencies and testing.
Generic Repository with EF Core Store Procedure in .NET Core 8
Jul 16, 2024.
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 executing complex SQL logic directly on the server, enhancing efficiency for CRUD operations.
Implementing v2 and v3 reCaptcha using React
Jul 10, 2024.
CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) is a security measure to differentiate between humans and bots. reCAPTCHA, a Google tool, enhances this by generating response tokens for user verification.
Generic Repository with EF Core in .NET Core 8
Jul 03, 2024.
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 giddy at the mere mention of the generic repository pattern.
Func Delegates in .NET Core C#: Syntax, Usage and Examples
Jun 13, 2024.
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 namespace. It has one out parameter and zero or more input parameters. As an out parameter, the final one is regarded as such.
Fix Generic Error in Custom Activity Using Batch Account in ADF
Jun 11, 2024.
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. ---> System.IO.IOException: Unable to read data from the transport connection.
Arrow Function Variants in JavaScript
Jun 03, 2024.
Arrow functions in JavaScript offer concise syntax for writing functions. They simplify coding with features like no parameter handling, optional parentheses for single parameters, and streamlined function bodies. They're versatile, applicable in various scenarios, like callbacks and high order functions.
UnderStanding nameof Operator in C#
May 28, 2024.
The nameof Operator retrieves names of variables or members dynamically, aiding in code maintenance. Raising PropertyChanged Event notifies property changes in INotifyPropertyChanged implementations. Argument Checking and Guard Clauses ensure robust code by validating inputs.
Understanding Generic Constraints in C#
May 21, 2024.
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#
May 14, 2024.
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 events, enhancing code modularity and scalability.
Dictionary in .NET C#: Syntax, Methods, and Example
May 07, 2024.
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
May 03, 2024.
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. When compared to a list, the HashSet performs substantially better.
What is Generics in .NET C# with example
Apr 15, 2024.
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 generics, delving into practical examples and best practices to harness their full potential.
Bubble Sort Algorithm in C# with Generic Method Example
Apr 15, 2024.
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 the list is sorted.
Understanding the Art of C# Generics
Mar 01, 2024.
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 efficient, flexible, and type-safe code for a wide range of scenarios, ensuring optimal performance.
Why we should learn C#?
Feb 26, 2024.
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 for modern development needs.
Traits and Generics in Rust
Dec 20, 2023.
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 'traits' and 'generics,' enabling reusable, flexible, and type-safe coding. Traits act as guides, while generics facilitate code adaptability. Discover how to declare, implement traits, and use generics for functions and data structures.
New Features of Rust 1.73
Nov 02, 2023.
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 Rust more expressive, efficient, and user-friendly.
Generics in C#: Enhancing Code Reusability and Type Safety
Oct 04, 2023.
In this article, we will explore the concept of generics in C# with detailed examples, showcasing how they enhance code flexibility and maintainability.
Generic in C#
Sep 01, 2023.
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 the `<>` symbol.
Generics in C#
Aug 25, 2023.
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 checking.
Mastering C# Enums: An Essential Guide with Examples
Jun 13, 2023.
Unleashing the Power of a Generic Event Bus in Angular: Building a Powerful and Scalable Architecture
May 30, 2023.
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 of large-scale applications. By leveraging the event bus, developers can establish efficient communication between different parts of the application, facilitating seamless cross-component and cross-module interactions.
Create Generic HttpClient Call Function With Error Handling In C#
Mar 09, 2023.
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 using optional parameters. By following the provided code examples and explanations, readers can learn how to simplify HTTP requests in their C# applications and reduce the risk of errors.
Generic Interface And Generic Repository For Developing ASP.NET Core Web API
Feb 28, 2023.
In this article, you will learn about Generic Interface and Generic Repository for Developing Asp.net Core Web API.
Unit Of Work With Generic Repository Implementation Using .NET Core 6 Web API
Dec 04, 2022.
Unit Of Work with Generic Repository implementation using .NET Core 6 Web API.
Using The New Generics Pattern Matching Feature In .NET 7
Nov 30, 2022.
In this article, you will learn how to use the new generics pattern matching feature in .NET 7.
Using The New Generic Number Interface In .NET 7
Nov 28, 2022.
In this article, you will learn how to use the new generic number interface in .NET 7.
Implement The Generic Badge View In Xamarin.Forms
Aug 03, 2022.
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 property for adding tab bar badges, which can be bound in XF shared code.
Generic Delegates In C#
May 17, 2022.
Here ill describe that why we need Generic Delegates what are Generic Delegates, keyword used in Generic Delegates and their type with example
Collections In C#
Apr 05, 2022.
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 solve both arrays and Non Generic types of problems.
Usage Of STL In CPP Programming
Mar 23, 2022.
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.
Implement Unit Of Work And Generic Repository pattern in a Web API .NET Core Project Using EF
Feb 21, 2022.
Complete guide to implement Unit of Work with Generic Repository Pattern with Entity Framework in a WEB API .NET Core project
Generic Implementation For Serializer/Deserializer Using Google Protocol Buffer
Sep 24, 2021.
Serialize or deserialize the input using google protocol buffer library in generic implementation.
New Generic Collection In .NET 6 - A Priority Queue
Jun 17, 2021.
In this article, you will learn about the new Generic Collection in .NET 6 a Priority Queue.
Generic Classes And Functions
Jan 22, 2021.
In this article, you will learn about the concept of generic classes and functions.
Generic CRUD Operations For CosmosDB
Jun 02, 2020.
In this article you will learn about Generic CRUD Operations for CosmosDB.
Understanding Generics In C#
Apr 23, 2020.
In this article, you will learn about generics In C#.
Generic Way To Export Data To Any Textformat In C#
Apr 12, 2020.
An extremely powerful and flexible way to export data to any text format (including XML & JSON)
Generic Validation Service for Reactive Forms
Apr 10, 2020.
In this article, we will create a common service that will help validate and log error messages in one place, rather than writing it in every component
Implementing C# Generic Collections Using Collection<T>, ICollection<T> With IEnumerator<T>
Jan 24, 2020.
In this article, you will learn how to create your own custom collections using Generic Collections class.
Lazy Loading with Generic Methods
Nov 11, 2019.
In this article, we will learn Lazy Loading using Generic Method in C#
Generics in Swift
Oct 15, 2019.
In this article, I will give a brief introduction of Generics in Swift.
C# Generics
Jun 26, 2019.
In this article, you will learn about C# generics.
Implementing Generic Repository And CRUD Operations In ASP.NET Core Web API
May 03, 2019.
In this article, I will implement CRUD operations in ASP.NET Core Web API using generic repository pattren.
Generic Extension Method To Map Objects From One Type To Another
Jan 28, 2019.
In this article, we will learn about Generic Extension method to map objects from one type to another.
Generic Repository Pattern With MVC
Aug 10, 2018.
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 promotes the separation of concerns, abstraction, and code reusability, enhancing the maintainability and testability of the system.
DotVVM In Real-World Apps - Generic CRUD - Part Two
Apr 27, 2018.
In the previous article, I was writing about building a basic CRUD scenario using DotVVM, an open-source MVVM framework for line of business web apps.
ts.validator.fluent - TypeScript Based Generic, Fluent Validation Framework
Apr 10, 2018.
I have created a TypeScript based generic, fluent validation framework. Also, I have built a demo Angular 6 CLI app which uses the framework for client-side form validation.
Say Hello To Swift Generic
Jan 08, 2018.
If you have not been introduced to Swift generic yet, then definitely you are missing one of the most beautiful things. In this article, we will try to understand generic in a simple way and we will see how we can beautify our Swift codes with generics.
Building Entity Framework Generic Repository 2 Connected
Dec 18, 2017.
A few weeks ago, we looked a first article about Disconnected Repository. In this article let’s complete it with another piece off the puzzle, the connected Generic Repository.
Building Entity Framework Disconnected Generic Repository
Nov 29, 2017.
The repository pattern separates and retrieves data model mapping logic from the business logic. We will create a repository class for each entity class in our application. All these classes usually have a main group of equals methods.
.NET Entity Framework Core Generic Async Operations With Unit Of Work Generic Repository
Oct 05, 2017.
The advantage of generic repository is that you can inherit from it, pass an entity type, and you will get CRUD operations. It will save you a lot of coding time when your domain objects are likely to grow over 50+. Another advantage is change history functionality; you can inherit your entities from the change history interface.
Default(T) In Generics
Sep 27, 2017.
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 are many development moments with the generics classes where the default keyword can be useful.
Introduction To Dapper Generic Repository
May 15, 2017.
This article introduces you to the introduction to Dapper Generic Repository.
Equality Operator (==) With Inheritance And Generics In C#
Apr 30, 2017.
Equality Operator (==) With Inheritance And Generics In C#.
Azure Functions - Create Generic Webhook Trigger
Mar 26, 2017.
This article briefs you on Azure functions – Create Generic Webhook Trigger.
Func, Action And Local Function In C# 7
Mar 12, 2017.
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 include checking for prime numbers, printing the Fibonacci series, and calculating factorials.
Coding Challenge - Lesson Learned
Feb 22, 2017.
Here, I am sharing some note from the coding challenge: NumberStyles, Tuple, Generic Extension Method, Group string from right to left.
Reuse Your Code .. Generic Save/Load!
Jan 24, 2017.
Get the overview of Generic C# .NET Object Save/Load pattern and code.
MVC Crud Using Generic Repository And jQuery
Dec 28, 2016.
In this article, you will learn how to create simple Crud operations, using generic repository pattern and jQuery.
Generic Repository Pattern In ASP.NET Core
Nov 29, 2016.
In this article, you will learn generic repository pattern in ASP.NET Core.
Introduction To Generic IEqualityComparer
Nov 20, 2016.
In this article, you will learn about Generic IEquality Comparer.
CRUD Operation Using Repository Unit Of Work Pattern
Sep 26, 2016.
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 operations. Add a Home Controller for managing data, and create views for adding, editing, and deleting records.
Using Generics In C#
Sep 13, 2016.
Learn everything about generics in C#.
Collections In C#
Aug 07, 2016.
In this article, we will learn about the Collections in C#.
Preparing For .NET Interviews: Traditional And Generic Collections - Part Eight
May 19, 2016.
This article presents the common questions asked in .NET interviews related to traditional and generic collections and explains the answers easily.
Understanding <T> In C#
May 15, 2016.
In this article you will learn about what is <T> in C#.
Generics In C#
May 07, 2016.
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 developers to write code that is independent of data types, providing greater flexibility, type safety, and code reusability. Generics allow you to design classes or methods that operate on any data type while still maintaining type safety during compile-time.
Working With The Error Cannot Implicitly Convert Type 'ListName[]' to 'System.Collections.Generic.IList<ListName>' in WCF.
Apr 17, 2016.
In this article I am going to discuss about a common error that most of the time comes while working with WCF.
JavaScript: Attach Generic Event Handler
Apr 13, 2016.
In this article you will learn about Attaching Generic Event Handler in JavaScript.
Convert Generic List Into XML In ASP.NET MVC
Apr 12, 2016.
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 items. Follow step-by-step instructions to create an MVC application, model class, controller, and view to achieve this.
Generic Exception Handling Techniques In ASP.NET MVC
Mar 12, 2016.
In this article we will learn various ways of exception handling in ASP.NET MVC.
Learn Tiny Bit Of C# In 7 Days - Day 4
Jan 31, 2016.
In this article you will learn about Delegates, Enums, Attributes, Generics in C#. This is part 4 of the series.
Generics And Generic Collections In C#
Dec 16, 2015.
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#
Dec 13, 2015.
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 repository pattern and dependency injection. It includes code snippets for a repository class, user repository, and service layer integration.
A Simple Way to Learn Generics
Nov 20, 2015.
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.
ASP.NET MVC Code First Approach With Repository Pattern
Oct 14, 2015.
In this article you will learn how to use code first approach in ASP.NET MVC with Generic Repository Pattern.