コード例 #1
0
ファイル: Program.cs プロジェクト: Limon-7/c-sharp-console
        static void Main(string[] args)
        {
            PartialEmployee p = new PartialEmployee();

            p.FirstName = "Md Malek";
            p.LastName  = "Limon";
            p.Gender    = "Male";
            p.DisplayEmployeeDetails();
            p.DisplayFullName();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: Gedionotieno2/PartialClass
        static void Main(string[] args)
        {
            PartialEmployee emp = new PartialEmployee();

            emp.FirstName = "Pranaya";
            emp.LastName  = "Rout";
            emp.Salary    = 100000;
            emp.Gender    = "Male";
            emp.DisplayFullName();
            emp.DisplayEmployeeDetails();
            Console.WriteLine("Press any key to exist.");
            Console.ReadKey();
        }