Please tell me whether class can be considered as a type (int, double & so on). In the 2nd example shows Student type and payingStudent variable.
1)
public static void Main()
{
Student payingStudent = new Student();
}
2)
public static void Main()
{
Student payingStudent;
payingStudent = new Student();
}