Thursday, April 22, 2010

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;


}

}

No comments:

Using Authorization with Swagger in ASP.NET Core

 Create Solution like below LoginModel.cs using System.ComponentModel.DataAnnotations; namespace UsingAuthorizationWithSwagger.Models {     ...