Warning: mkdir(): No space left on device in /var/www/tgoop/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/barmaja_Csharp/--): Failed to open stream: No such file or directory in /var/www/tgoop/post.php on line 50
❥͢ ❈↡< C# > برمجة@barmaja_Csharp P.147
BARMAJA_CSHARP Telegram 147
إ₰...👨🏻‍💻CODE👩🏻‍💻...₰❥

مثال بسيط يوضح مفهوم الوراثة :-

using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;

namespace CSharp
{
class Human
{
string ONAME;
int OAGE;
public
void Initialize(string Name, int Age)
{
ONAME = Name;
OAGE = Age;
}
public
void ShowDitails()
{
Console.WriteLine("Name = {0}, Age = {1}", ONAME, OAGE);
}
}

class Teacher : Human
{
string OSchool, OTeachLevel;
public
Teacher(string School, string TeachLevel)
{
//This is Constructor!
OSchool = School;
OTeachLevel = TeachLevel;
}
public
void Teach()
{
}
public
void MakeTest()
{
}
}

class Employee : Human
{
string OInstitution, OStudyLevel;
public
Employee(string Institution, string StudyLevel)
{
//This is Constructor!
OInstitution = Institution;
OStudyLevel = StudyLevel;
}
public
void Work()
{
}
public
void Bribe()
{
}
public
void GetPromoted()
{
}
}

class Engineer : Human
{
string OCompany, OSpecialty;
public
Engineer()
{
}
public
Engineer(string Company, string Specialty)
{
//This is Constructor!
OCompany = Company;
OSpecialty = Specialty;
}

public
void Work()
{
}
}

class Program
{
static void Main(string[] args)
{
string Name = "wasam";
int Age = 20;
string Company = "None";
string Speciality = "IT";
Engineer O = new Engineer(Company, Speciality);
O.Initialize(Name, Age);
O.ShowDitails();
O.Work();
Console.ReadKey();
}
}
}

•┈┈┈•❈••✦✾✦••❈•┈┈┈•
❥➺┊ @barmaja_Csharp
•┈┈┈•❈••✦✾✦••❈•┈┈┈•


إ₰...Output....₰❥

Name = wasam, Age = 20



tgoop.com/barmaja_Csharp/147
Create:
Last Update:

إ₰...👨🏻‍💻CODE👩🏻‍💻...₰❥

مثال بسيط يوضح مفهوم الوراثة :-

using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;

namespace CSharp
{
class Human
{
string ONAME;
int OAGE;
public
void Initialize(string Name, int Age)
{
ONAME = Name;
OAGE = Age;
}
public
void ShowDitails()
{
Console.WriteLine("Name = {0}, Age = {1}", ONAME, OAGE);
}
}

class Teacher : Human
{
string OSchool, OTeachLevel;
public
Teacher(string School, string TeachLevel)
{
//This is Constructor!
OSchool = School;
OTeachLevel = TeachLevel;
}
public
void Teach()
{
}
public
void MakeTest()
{
}
}

class Employee : Human
{
string OInstitution, OStudyLevel;
public
Employee(string Institution, string StudyLevel)
{
//This is Constructor!
OInstitution = Institution;
OStudyLevel = StudyLevel;
}
public
void Work()
{
}
public
void Bribe()
{
}
public
void GetPromoted()
{
}
}

class Engineer : Human
{
string OCompany, OSpecialty;
public
Engineer()
{
}
public
Engineer(string Company, string Specialty)
{
//This is Constructor!
OCompany = Company;
OSpecialty = Specialty;
}

public
void Work()
{
}
}

class Program
{
static void Main(string[] args)
{
string Name = "wasam";
int Age = 20;
string Company = "None";
string Speciality = "IT";
Engineer O = new Engineer(Company, Speciality);
O.Initialize(Name, Age);
O.ShowDitails();
O.Work();
Console.ReadKey();
}
}
}

•┈┈┈•❈••✦✾✦••❈•┈┈┈•
❥➺┊ @barmaja_Csharp
•┈┈┈•❈••✦✾✦••❈•┈┈┈•


إ₰...Output....₰❥

Name = wasam, Age = 20

BY ❥͢ ❈↡< C# > برمجة


Share with your friend now:
tgoop.com/barmaja_Csharp/147

View MORE
Open in Telegram


Telegram News

Date: |

The SUCK Channel on Telegram, with a message saying some content has been removed by the police. Photo: Telegram screenshot. To view your bio, click the Menu icon and select “View channel info.” bank east asia october 20 kowloon Earlier, crypto enthusiasts had created a self-described “meme app” dubbed “gm” app wherein users would greet each other with “gm” or “good morning” messages. However, in September 2021, the gm app was down after a hacker reportedly gained access to the user data. While some crypto traders move toward screaming as a coping mechanism, many mental health experts have argued that “scream therapy” is pseudoscience. Scientific research or no, it obviously feels good.
from us


Telegram ❥͢ ❈↡< C# > برمجة
FROM American