Language Basics ASP.Net

<%@ Page Language="C#" Debug="true" %>

    void Page_Load()
    {
       string CapitalCityOfUK;
       int NumberOfStates;
       DateTime IndependenceDay;
    
       CapitalCityOfUK = "London";
       NumberOfStates = 50;
       IndependenceDay = Convert.ToDateTime("7/4/1776");
    
       lblCapital.Text = CapitalCityOfUK;
       lblNumStates.Text = Convert.ToString(NumberOfStates);
       lblDateIndependence.Text = Convert.ToString(IndependenceDay);
    }



    Creating Variables Example


    The contents of CapitalCityOfUk is: 
    
    The contents of NumberOfStates is: 
    
    The contents of IndependenceDay is: