Car.cs
Program.cs
using System;
namespace MyApplication
{
class Car
{
private string model = "Mustang";
}
}
using System;
namespace MyApplication
{
class Program
{
static void Main(string[] args)
{
Car myObj = new Car();
Console.WriteLine(myObj.model);
}
}
}