Declare string variables using class
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace train
{
public class Class1
{
public static string tkt;
public static string trainno;
public static string date;
public static string Class;
public static string Seatno;
public static string Name;
public static string Age;
public static string Gender;
public static string Boardingfrom;
public static string Destination;
public static string Amount;
public static string Coach;
}
}
Category: