How do I call string a defined outside of the class ?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static2 ;
namespace static1
{
class Program
{
string a = "dsfsdf";
static void Main(string[] args)
{
Automobile.Drive();
int i = Automobile.NumberOfWheels;
// Automobile car = new Automobile.compute(2,3);
//Console.Write(car);
Console.WriteLine(Program.a);
}
}
}