Category: C#
Interface always starts with I . It is the naming convention. up vote24down vote In a…
codes: using System; using System.Collections.Generic; namespace ObjectInitializeProgs { public class Student { public int RollNo{ get; set;…
https://www.tutorialspoint.com/csharp_online_training/c_object_initializer.asp using System; namespace ObjectInitializer { class Person { int age; string name; private char gender; static…
code: using System; namespace Constructor { class Testing { int marks; static int maxmarks=50; Testing() //My own…
program.cs using System; namespace Extension { class DekhiKiObostha { public void Test1() { Console.WriteLine(“Method-1”); } public void…
Recent Comments