//เขียนโปรแกรมโดย น.ส.กัญกนิษฐ์ ไทยวงศ์
using System;
public class Me
{
private string name;
private string tel;
public string pname
get { return name;}
set { name = value;}
}
public string ptel
get { return tel;}
set { tel = value;}
public class Program
public static void Main()
Me p1 = new Me();
p1.pname = "Kunganit Thaiwong";
p1.ptel = "0990308169";
Console.WriteLine("My name is {0}.", p1.pname);
Console.WriteLine("My phone number is {0}.", p1.ptel);