how to initiate a varaible in cs

C#
//HOW TO DECLARE A VARIABLE IN UNITY (C# SCRIPT)
//NOTE: YOU CAN ALSO USE "private" TO DECLARE A VARIABLE

//Float:
public float name = 0f;
//Boolean (True/False):
public bool name = true;
//Integer
public int name = 0;
//String
public string name = "Hello World!";
Source

Also in C#: