SGR SOINS SOLUTIONS
Économisez avec des soins garantis
REMPLISSEZ LE FORMULAIRE
Contactez-nous dès aujourd'hui !
;
using System;
class Person
{
public string name ;
public int() age;
public Person(string n, int a)
{
name = n;
age = a;
}
public void Display()
{
Console.WriteLine("Name: "+ name + ", Age: "+ age);
}
}
class Program
{
static void Main(string[] args)
{
Person p = new Person("Alice", 25);
p.Display();
}
}