Introduction to Session in asp

1. Session is a property of page class in asp.net to pass data from one page to another page. 2. By default, Session mode is inproc. 3. Session has several functions like abandon. Important properties are a) Session Id b) Time Out. 4. Using session, we can not only pass data from one page to another page, we can also sign out at any point of time, which is the…

View More Introduction to Session in asp

Lalit Shokeen – Youtuber

Since the beginning of time he has started making comedy videos, he got lot of love and support of people. To know more about his complete journey, keep reading.. Know more about Lalit Shokeen Dr. Lalit Shokeen (31 years old) is an very popular comedian, writer, director, scientist and a kind person. He was born at Dichaon Kalan village, Najafgarh tehsil of south west delhi district in India. He complete…

View More Lalit Shokeen – Youtuber

Constructor Chaining in C sharp with program

using System; class employee { string message; public employee() { } public employee(string mess) { message = mess; } public void displayME() { Console.WriteLine(message); } } class manager:employee { string message; public manager() { } public manager(string m) :base(m) { message = m; } public void displayM() { Console.WriteLine(message); } public static void Main() { manager deepa = new manager(“leave for two days”); deepa.displayM(); deepa.displayME(); } } OUTPUT: leave for…

View More Constructor Chaining in C sharp with program

Program for abstract class using C sharp Dot net

using System; interface IPlay { string play(); } class hockey : IPlay { string IPlay.play() { return “yes ….hockey”; } } class cricket : IPlay { string IPlay.play() { return “cricket…”; } } class chess : IPlay { string IPlay.play() { return “chess”; } } class ui { public void PlayType(IPlay ptr) { Console.WriteLine(ptr.play()); } public static void Main() { ui obj = new ui(); obj.PlayType(new cricket()); obj.PlayType(new hockey()); obj.PlayType(new…

View More Program for abstract class using C sharp Dot net

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?