Program for Operator Overloading using C Sharp

using System; class TSS {     int fees;     public TSS()     {         fees=0;     }     public TSS(int f)     {         this.fees=f;     }     public static TSS operator+(TSS obj1, TSS obj2)     {         TSS obj = new TSS();         obj.fees=obj1.fees + obj2.fees;         return obj;     }     public void TotalFeeCollection()     {         Console.WriteLine(“Total Fee Collected ” +fees);     }    public static void…

View More Program for Operator Overloading using C Sharp

Task Parallel Library – Async await Task CASE STUDY

Case Study1: When the function does not return any value using System; using System.Threading.Tasks; using System.Threading; class Life {     public static void Main()     {         LongTask();         Console.WriteLine(“Lets go!!”);         Console.ReadLine();     }     public async static void LongTask()     {         await Task.Run(()=>{         Thread.Sleep(5000);         Console.WriteLine(“Bro, Wait for 5 seconds”);         });     } } Case Study2: When the function does returns any value (Injection Technique will…

View More Task Parallel Library – Async await Task CASE STUDY

Program for Run Time Polymorphism using C Sharp

using System; class Manager {      public virtual void Work()      {          Console.WriteLine(“Manager”);      } } class Employee : Manager {      public override void Work()      {          Console.WriteLine(“Employee”);      } } class Trainee : Employee {      public override void Work()      {          Console.WriteLine(“Trainee”);      }      public void Chess()      {          Console.WriteLine(“Playing chess”);      } } class Program {     public static void Main()…

View More Program for Run Time Polymorphism using C Sharp

Program for Hashtable in C Sharp

using System; using System.Collections; using System.Collections.Generic; class Employee {     public int EmpId;     public string EmpName;     public static void Main()     {        Hashtable AnyEmployee = new Hashtable();         AnyEmployee.Add(1, new Employee(){EmpId=101, EmpName = “Shubham”});         AnyEmployee.Add(2, new Employee(){EmpId=102, EmpName=”Ankit”});        Employee e = (Employee)AnyEmployee[2]; // FOUCS ON SYNTAX         /*If I put 1 in [] bracket,then it will print  Employee Id:101, Employee Name:Shubham*/…

View More Program for Hashtable in C Sharp

Program for Array List in C Sharp

using System; using System.Collections; public class Employee {     public int EmpId {get; set;}     public string EmpName {get; set;}     static void Main()     {         ArrayList firstEmp = new ArrayList();         firstEmp.Add(new Employee(){EmpId=101,EmpName=”Shubham”});         firstEmp.Add(new Employee(){EmpId=102,EmpName=”Rajan”});         foreach(object e in firstEmp)         {             Employee currentEmployee = (Employee)e;             Console.WriteLine(“Employee ID:{0},Employee Name:{1}”, currentEmployee.EmpId, currentEmployee.EmpName);         }     } }

View More Program for Array List in C Sharp
Dussehra Wallpapper

Dussehra HD Wallpapers | Durga Puja Images 4K

Durga Puja 2018 starts from October 15 till October 19th, which is Vijay Dashmi. October 19th will be celebrated as Dussehra festival. Both of these festivals are very prestigious and are celebrated not only in India but also in foreign countries like Sri Lanka, Indonesia, etc. Here I have shared original Dussehra Wallpaper and Durga Puja Images. Hope you will like it. Dussehra 4K Wallpapers & Durga Puja HD Images…

View More Dussehra HD Wallpapers | Durga Puja Images 4K

How to create a webpage using angular?

If any class is marked as component decorator, it is a web page. Just memorize that line. We will understand the actual meaning shortly. After successful installation of angular web development framework and site creation, go to your drive where you have installed it. For Example, C: or D: or any other drive. Follow this path: Drive>YourProjectName > src > app folder. You will see three files. They are: 1.…

View More How to create a webpage using angular?

How to install Angular web development framework

Angular is used to develop web applications. Nowadays, it is first priority for every IT company to develop their web applications using applications, taking over other technologies like asp.net, MVC, etc. It is easy to install and easy to use and develop web applications by performing simple steps. Below are the major steps to install Angular web development framework: Pre-requisite to install angular Install Nodejs >> Go to node.js CMD…

View More How to install Angular web development framework

Happy Mothers Day HD Wallpaper Free Download

Mothers Day is going to be celebrated on May 12, 2019. It is usually celebrated to honor all the mothers in the world. For this special day, I am bringing you Mothers Day HD Wallpaper free, Images, Messages and loads more. International Mother’s Day 2019 International Mother’s Day 2019 comes on May 12, 2019. It will be the Mothers day in USA and India. Every country does have does celebrate…

View More Happy Mothers Day HD Wallpaper Free Download

Inheritance in OOP | Basic Concepts

Inheritance is one of the most important concept of Object-Oriented Programming. It is one of the building block for programming concepts. What is Inheritance? There are 5 points which will define the concept of Inheritanc.e in a simpler way: It is based on Generalization Principle. It explains about the logical association of Parent class with child class or Base class with Derived class. Child class inherits all the properties of…

View More Inheritance in OOP | Basic Concepts

Practical Implementation of Indexer in C#

Before studying this article, there is one pre-requisite you should do. You should learn Properties in C#. What is Indexer in C# ? Indexer is an extended version of Properties in C#. It is an array of properties. Things to remember before using Indexer Remove all the private variables within class and take a single variable which act as property. There is no name for Indexer unlike properties in C#.…

View More Practical Implementation of Indexer in C#

Practical Implementation of Properties in C#

Before implementing the concept of Properties in C# language, we must be aware of the fact that every variable is by default Private in that class. So what basically Properties in C# is? What is Properties in C# ? Properties is just an approach to access the variable (by default private) of one class into another class without breaking the concept of data hiding. Suppose we have opened a account in…

View More Practical Implementation of Properties in C#