Access Modifiers in C#

In this post, we’ll go through the different types of access modifiers and how to utilize them in C#.

Access Modifiers in C#
Access Modifiers in C#

In C#, access modifiers are keywords that describe how a class, its properties, fields, or methods are accessible in a program. These access modifiers are mainly used to specify the type’s and its members’ scopes, as well as to safeguard data from being accidentally changed by external classes or programs.

What are the types of access modifiers in C#?

Continue reading “Access Modifiers in C#”

10 Difference between interface and abstract class In C# |Interface in C# 8.0

In this article, We are going to discuss the “difference between Abstract class and Interface in C#” with simple examples.

This is one of the most frequently common questions asked in almost every C# dot net interview.

image result Interface Vs Abstract Class
interface vs abstract class c#

Interface VS Abstract Class’ Before C# 8.0

Let us review our understanding of abstract classes and interfaces until C# 8.0 arrives.

10 Difference between the abstract class and interface

The following is the list of 10 differences between the abstract class and the interface.

Continue reading “10 Difference between interface and abstract class In C# |Interface in C# 8.0”

Object oriented programming tutorial | 4 basics OOPs concepts

In this article, we are going to talk about object-oriented programming and its 4 basics OOPs concept in C#.

Object Oriented Programming OOps
4 basics OOPs Concept in C#

What is object oriented programming?

Object-oriented programming (OOP) refers to a programming language that uses classes and objects in code, which have certain properties, methods, fields, and events.

Continue reading “Object oriented programming tutorial | 4 basics OOPs concepts”