Date: "25 - November - 2019"

2 articles found.

Introduction to Enums in C#

Introduction to Enums in C Sharp, Enums in C Sharp, Enums in C#, enums C#, c# enums

Hello friends, I hope you all are having fun. In today's tutorial, we will have a look at detailed Introduction to Enums in C# . It's our 23rd tutorial in C# series and this C# concept is quite easy one. It's normally used to give better meanings/understanding to your project. If you haven't studied lectures on C# Classes & C# Methods , then do read them first, as we are going to use them today. So, let's get started with Introduction to Enums in C#: Introduction to Enums in C# Enums in C# ( short for Enumerations ) is a value type datatype for constants, created by using keyword enum and can be controlled by the class Enum . ( keyword with small e, while class with capital E ) We can declare & implement Enums directly in C# Namespace, class or struct and the underlying type of an enum is ...

Introduction to Access Modifiers in C#

Introduction to Access Modifiers in C Sharp, Access Modifiers in C Sharp,Access Modifiers in C#, C# Access Modifiers

Hello friends, I hope you all are having fun. In today's tutorial, we will have a look at Introduction to Access Modifiers in C#. It's our 22nd tutorial in C# series and now it's time to have a look at access modifiers, which we have to use a lot in C#. I hope that you have already studied previous lectures i.e. C# Methods, C# Structs, C# Classes etc. as these access modifiers are used with them. So, let's get started with Introduction to Access Modifiers in C#: Introduction to Access Modifiers in C# Access Modifiers in C# are used to apply restrictions on the accessibility of C# Objects within or outside the project, and are defined in the declaration. There are 5 Access Modifiers available in C#, whcih are: Private Public Protected Internal Protected Internal We will have a look at all o ...