Page 1 of 1

C#: Basic Review

Posted: Thu Nov 27, 2025 5:17 pm
by The Jason

Code: Select all

// basic-c-sharp-review-using-student-profiles.cs

using System;

namespace StudentProfiles
{

	class StudentProfile1
	{

		static void Main(String[ ], args)
		{
		int age = 44;

		string _school = "Duke";

		string school_team = "basketball team";

		Console.WriteLine($ "The student is {age}. There's no way he is on the {_school} {school_team}.");

		Console.WriteLine("The student is" + " " + age + "." + " " + "There's no way he is on the" + " " + _school + " " + school_team + ".");
		}
	
	}

}

// Good review 

/* I second
that. */

}
}
}