Csharp

Tuple in C# with Example
.
In this article, we will learn about Tuple in C#. What is a Tuple? A tuple is a reference type lightweight data structure that may contain different data types. It is introduced in C# 7.0. Tuple is useful when we…
5 new features in C# 10
.
In this article, we will look into 5 new features in C# 10. .NET 6 was released on November 8, 2021, and C# 10 works with .NET 6. C# 10 new features C# 10 introduces below new features. 1. Record…
Understand SOLID Principles in C#
.
The SOLID principles are a standard software development practice that should be followed in all software applications that use Object-Oriented Programming. They set the norm of how to write a program with clean architecture. SOLID principles in C# help to…
Factory Design Pattern
.
In this article, we will understand the Factory Design Pattern with C# code. It is one of the most popular design patterns used in the programming world. There are mainly 3 types of design patterns which are sub-divided into multiple…
What is AutoMapper in C#?
.
AutoMapper is used to map data between two objects. In this blog, we will see how to use AutoMapper in our application. Let’s demonstrate the use of Automapper by an example. Suppose we have a class called Employee with 2…
Important ASP.Net interview questions and answers for experienced developer
.
In this blog, I have collected the most common interview questions and answers based on my personal experience. Below are questions asked for the Senior Dot Net developer role. 1. What is Middleware? Middleware is software used to communicate between…

Dependency Injection in C#
.
In this blog, we are going to learn about Dependency Injection. And, how we can implement Dependency Injection in C#? We will also learn the ways we can implement Dependency Injection in C#. What is Dependency Injection (DI)? So, let’s first…
LINQ to perform operation with DataTable in C#
.
If you are a C#.Net developer, then you must be familiar with Data Table and LINQ. In C#, a Data Table is an in-memory object to represents data in tabular format i.e. rows and columns. Once you get data in…
How to Integrate SMS gateway in ASP.Net website ?
.
In this blog, I will write about How to send SMS using C# code?You all must have received SMS related to OTP (One Time PIN) on your mobile for various kind of transactions from different websites or App.Here I will…
What’s new in C# 6.0 language?
.
C# 6.0 is an another version of C# programming language released in the year 2015. C# 6 provides numerous new features which helps developer to write C# code in more clean and optimized way. Here are top 8 features of C#…
Facade Design Pattern in C#.Net
.
Design patterns provide efficient and re-usable solutions in software development. If you are new to Design Pattern, please read my earlier blog – Design Pattern in ASP.NetFacade Design Pattern comes under Structural Design Pattern. In short, Facade means the exterior appearance….
C# code to convert XML into Dataset
.
How to convert XML file into dataset in C# programming?In this blog I will show you how we can get XML data into a dataset. What is XML? XML is a markup language developed by the World Wide Web Consortium…
Oops interview questions and answers
.
In this blog, I have collected Interview questions and answers of OOPS (Object Oriented Programming System). Q. What are OOPS principles? Object-oriented is an approach to programming in C#, Java etc.OOPS Principals – 1. Abstraction2. Encapsulation3. Inheritance4. Polymorphism Q. Is inheritance possible if a private…
Important C# Interview Questions and Answers
.
In this blog, I have collected important C# interview questions and answers and their answers, which will help you in preparing your interview. If you are an ASP.Net or ASP.Net Core programmer or developer who is preparing for an interview, then…
State Management in C#
.
In my other blogs, you may read C# 6.0 new featuresIn this blog, I will explore about State Management in C#. If you have attended an interview as a C#.Net developer, then questions related to State Management is likely to…
What is collection in C#
.
Collection classes are used to store data of specific types. All types of collection support IEnumerable interface. Below are collection classes used in C#.net, all classes come under System.Collection namespace. List – An array does not allow dynamic resize, but…
Difference between Constant, read-only and static in C#
.
In this blog, we will learn about constant, read-only and static keywords in C# programming. We use const and readonly keyword to make a field constant and which values we can not modify. Const keyword We can not modify the…
Exception handling in C#
.
Exception Handling in C#. Most .NET languages support exception handling. Essentially, when an error occurs in the application, the .NET Framework throws an exception that represents the problem. You can catch this object using an exception handler. If you fail…
When Should We Use Response.Redirect(url,false) in C# code?
.
In this article, we are going to learn about Response.Redirect() in C#. So, Response.Redirect() may accept 2 parameters, one is the URL and another one is a boolean value i.e. True or False. What is the use of True and…

Abstract Class Vs Interface in C#
.
Abstract Class Vs Interface is one of the most asked questions in an interview. In this article, we will learn what are the main differences between abstract class and interface. And also we will know in which cases abstract classes…



