EN / USD
56 Items
 Home
Blog
Introduction to Delegates in C#
Introduction to Delegates in C#, Delegates in C#, Delegates C#, c# Delegates, Multicast delegates c#
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at detailed Introduction to Delegates in C#. It's our 21st tutorial in C# series and now we are entering in the complex field. C# concepts, we have studied so far, were quite simple, but now we are slowly moving towards complex topics. Delegates are not that difficult as normally considered, you just need to understand its basic idea and rest is quite simple. So, let's get started with Introduction to Delegates in C#: Introduction to Delegates in C# Delegates in C#, created by using delegate keyword, are used as a type safe pointer, normally pointing towards C# Methods & Events. The signature of the Delegate & the function ( its pointing to ) mu ...
Blog
Introduction to Properties in C#
Introduction to Properties in C#, Properties in C#, Properties C#, c# Properties
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at Properties in C#. It's our 20th tutorial in C# Series and a quite important one as we are gonna use properties a lot in our coming lectures. If you haven't studied C# Methods & C# Classes then I would suggest you to read them first before starting today's tutorial, as we are gonna use methods today. So, let's get started with Properties in C#: Introduction to Properties in C# Today I am not gonna start with the definition as I did in previous tutorial, instead we will first understand the concept and then will define it. So, let's create a new C# Class named StudentsClass shown in figure on right side. ...
Blog
Introduction to Abstract Classes in C#
Introduction to Abstract Classes in C#,Abstract Classes in C#, Abstract Classes C#, C# Abstract Classes
Hello friends, I hope you all are doing great. In today's tutorial, we will have a look at detailed Introduction to Abstract Classes in C#. It's our 19th tutorial in C# series. Today, we are gonna discuss another new concept in C# and I would recommend you to follow these tutorials at least 3 to 4 times, so that these concepts find the right place in your brain and stick there. C# Abstract Classes are quite similar to C# Interface in many respects, so if you have studied previous tutorial in C# Series, then do read it first. So, let's get started with Introduction to Abstract Classes in C#: Introduction to Abstract Classes in C# Abstract Classes in C# are created by using Abstract Keyword, and are used to create abstract members, which have the ...
Blog
Introduction to Interface in C#
Introduction to Interface in C#, Interface in C#, Interface C#, C# Interface
Hello friends, I hope you all are doing great. In today's tutorial, we will discuss another important concept named Interface in C#. It's our 18th tutorial in C# series. It's one of my favorite concepts in C# as its come quite handy in complex projects. Interfaces are quite similar to C# Classes & C# Structs in design so if you haven't studied those lectures then do read them first. So, let's get started with the Introduction to Interface in C#: Introduction to Interface in C# Interface in C# is created using Interface Keyword and is used for the declaration of Methods, Properties, Events etc. but we can't add any implementation in it. ( we can't declare Fields in Interface ) You can think of Interface as a signature, you look at the i ...
Blog
Introduction to Structures in C#
Introduction to Structures in C#, Structures in C#, Structures C#, c# Structures, c# struct, struct c#
Hello friends, I hope you all are doing great. In today's tutorial, we will have a detailed Introduction to Structures in C#. It's our 17th tutorial in C# series. Structures are quite similar to classes but have few differences as well, which we will discuss today. We have discussed C# Classes in 13th lecture, so you must read it once as we will use that knowledge in today's lecture as well. So, let's get started with Introduction to Structures in C#: Introduction to Structures in C# Structure in C# is a value type data type, created by using keyword struct, and can have fields, methods, properties, operators etc. just as in C# Classes. Main difference between C# Class & Structure is that C# Class is a Reference Type Date type while C# St ...
Blog
Introduction to Polymorphism in C#
Introduction to Polymorphism in C#,Polymorphism in C#,Polymorphism C#, C# Polymorphism
Hello friends, I hope you all are having fun. In today's tutorial, we will have a look at Introduction to Polymorphism in C#. It's our 16th tutorial in C# series and polymorphism is considered as a main pillar of object oriented programming. In our previous tutorial, we have seen a detailed Introduction to Inheritance in C# and along with it, we have also discussed How to hide a Method in Parent Class, if the same method exists in Child class. This Method Hiding is actually the basis of Polymorphism, so let's discuss it out in detail: Introduction to Polymorphism in C# Polymorphism in C# enables the user to invoke a Child Class Method & override the Parent Class Method, using a Parent Class Reference variable. In our previous lecture o ...
Blog
Introduction to Inheritance in C#
Introduction to Inheritance in C#,Inheritance in C#, C# Inheritance, Inheritance C#
Hello friends, I hope you all are having fun. In today's tutorial, we will have a detailed Introduction to Inheritance in C#. It's our 15th tutorial in C# series and again an important concept in Object Oriented Programming, as it helps in code optimization. In our previous tutorial, we have discuss namespaces in C# and that was the last storage item in C#. Today, we are dealing with entirely different entity, which is inheritance. So, let's discuss it in detail: Introduction to Inheritance in C# Inheritance in C# is used to create a relation between two classes. In simple words, derived / child class is inherited from base / parent class and will automatically have all its members as its own. Inheritance is denoted by ( : ). Mostly in pro ...
Blog
Introduction to Namespaces in C#
Introduction to Namespaces in C#,Namespaces in C#,Namespaces C#, c# Namespaces
Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at detailed Introduction to Namespaces in C#. Namespaces are considered as libraries in C#. If you have worked on any other programming language then you must be aware of the term library which contains all classes & methods etc. In C#, this functionality is performed by namespaces. In 12th tutorial, we have seen Introduction to Methods and in 13th part, we have seen Classes in C#. Methods are simple storage units and stores code only, Classes are slightly bigger storage units and can store methods. Now Namespaces are giant storage units, which can save anything in them i.e. classes, methods, namespaces etc. So, let's have a look at them in detail: Int ...
Blog
Introduction to Classes in C#
Introduction to Classes in C#, classes in c#, classes c#, c# classes
Hello friends, I hope you all are doing great. In today's tutorial, we are gonna have a look at detailed Introduction to Classes in C#. It's my 13th tutorial in C# series and now we are ready to understand this slightly complex subject in C#. In our previous tutorial, we have seen Introduction to Methods in C# which are used for organizing the code and we can add some code in separate methods to make the Main method simple. Classes are slightly bigger storage capacities than methods. Methods can store code, classes can store methods. So, let's discuss classes in detail: Introduction to Classes in C# Classes in C# are referred as storage units for different methods, fields, objects etc. and are used for organizing the code. In our previous les ...
Blog
Introduction to Methods in C#
Introduction to Methods in C#, methods in c#, methods c#, c# methods, static methos in c#, instance method c#
Hello friends, I hope you all are doing great. In today tutorial, I am going to give you a detailed Introduction to Methods in C#. It's our 12th tutorial in C# series. So far, we have covered all the basic concepts in C# and now it's time to move forward and have a look at some complex concepts. Methods have an important role in C# programming and if you want to be an efficient programmer then you must set your method controls correctly. Some methods have secret codes in them, which you don't want to give access to your developers, then you can set it private. We will cover such things in detail later, let's first have a look at Introduction to Methods in C#: Introduction to Methods in C# Methods in C#, also called Functions, are extremely usef ...