Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
Misc
8.5K+ articles
C#
1.9K+ articles
CSharp-method
701+ articles
Programming Language
540+ articles
CSharp-Collections-Namespace
196+ articles
CSharp-Basics
39+ articles
CSharp-Interfaces
16+ articles
CSharp-Inheritance
10+ articles
CSharp-Indexers & Properties
6+ articles
CSharp-OOP
38 posts
Recent Articles
Popular Articles
Difference between Abstract Class and Interface in C#
Last Updated: 17 May 2023
An abstract class is a way to achieve abstraction in C#.To declare an abstract class, we use the abstract keyword. An Abstract class is never intended to be instantiated d...
read more
C#
CSharp-OOP
CSharp-Interfaces
Shallow Copy and Deep Copy in C#
Last Updated: 17 July 2024
In general, when we try to copy one object to another object, both the objects will share the same memory address. Normally, we use assignment operator, = , to copy the re...
read more
Technical Scripter
C#
Picked
Technical Scripter 2018
CSharp-OOP
Invoking an overloaded constructor using this keyword in C#
Last Updated: 27 August 2021
Prerequisite : Constructors in C#C# provides a powerful keyword known as this keyword and this keyword has many usages. Here we use this keyword to call an overloaded cons...
read more
C#
Picked
CSharp-OOP
Destructors in C#
Last Updated: 15 January 2025
Destructors in C# are methods inside the class used to destroy instances of thatclasswhen they are no longer needed. The Destructor is called implicitly by the.NET Framewo...
read more
C#
Picked
CSharp-OOP
Different ways to create an Object in C#
Last Updated: 18 August 2021
A fully object-oriented language means everything is represented as an object but can't differentiate between primitive types and objects of classes but C# is not purely o...
read more
C#
Picked
CSharp-OOP
Anonymous Method in C#
Last Updated: 11 February 2019
An anonymous method is a method which doesn’t contain any name which is introduced in C# 2.0. It is useful when the user wants to create an inline method and also wants to...
read more
C#
CSharp-OOP
C# Restrictions on Properties
Last Updated: 28 January 2025
Properties in C# are special class members that provide a flexible mechanism to read, write, or compute the value of a private field. They act as methods called accessors ...
read more
C#
Picked
CSharp-OOP
CSharp-Indexers & Properties
C# | Multiple inheritance using interfaces
Last Updated: 06 April 2023
Introduction:Multiple inheritance refers to the ability of a class to inherit from multiple base classes. C# does not support multiple inheritance of classes, but it does ...
read more
C#
CSharp-OOP
CSharp-Inheritance
CSharp-Interfaces
Object and Collection Initializer in C#
Last Updated: 24 November 2021
An object and collection initializer is an interesting and very useful feature of C# language. This feature provides a different way to initialize an object of a class or ...
read more
C#
CSharp-OOP
CSharp-Collections-Namespace
Method Hiding in C#
Last Updated: 19 March 2019
As we already know about polymorphism and method overriding in C#. C# also provides a concept to hide the methods of the base class from derived class, this concept is kno...
read more
C#
CSharp-OOP
Difference between Method Overriding and Method Hiding in C#
Last Updated: 19 March 2019
Method Overriding is a technique that allows the invoking of functions from another class (base class) in the derived class. Creating a method in the derived class with th...
read more
C#
CSharp-OOP
CSharp-Inheritance
Late Binding using Reflection in C#
Last Updated: 19 October 2021
The two main terms appearing in the above topic are Late Binding and reflection. So let us first define these two terms. The binding of methods and objects during run time...
read more
Programming Language
C#
CSharp-OOP
C# Program to Demonstrate Interface Implementation with Multi-level Inheritance
Last Updated: 01 November 2021
Multilevel Inheritance is the process of extending parent classes to child classes in a level. In this type of inheritance, a child class will inherit a parent class, and ...
read more
C#
Picked
CSharp-OOP
CSharp-programs
How to Pass an Object as an Argument into Method in C#?
Last Updated: 06 December 2021
Given an object, now we pass this object as an argument into the method in C#. Here, a method is a code block that contains a series of statements that will only execute w...
read more
C#
Picked
CSharp-OOP
C# Polymorphism
Last Updated: 05 March 2025
C# Polymorphism is a key concept in object-oriented programming (OOP) that allows methods, properties, or operators to take multiple forms. The term "polymorphism" means "...
read more
C#
CSharp-Basics
CSharp-OOP
1
2
3
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !