+ 1

Could anyone help me teach me what this means. | C#

Does anyone know what “using system” means, thank you

15th May 2025, 9:44 AM
Eamonn Rellis
Eamonn Rellis - avatar
4 Answers
+ 5
From the lesson, you might not be up to it yet in your C# course: The System is a standard namespace that contains different functionalities, such as the familiar Console.WriteLine method. "Using" just means that your program is connected to this namespace and can use the functionalities.
15th May 2025, 12:33 PM
Ausgrindtube
Ausgrindtube - avatar
+ 5
using System; This gives you a shortcut so that can type less when writing code. Without it, you would have to type the entire namespace path to objects in the System library. For example, instead of: Console.Write("Hello, World!"); You would have to write the fully-qualified name: System.Console.Write("Hello, World!") That's about all there is to it. It saves keystrokes and makes code less wordy.
15th May 2025, 5:10 PM
Brian
Brian - avatar
+ 4
You can think of it as a toolbox. The code is your workbench, and any codes you write are scratch or some kind of drawing. "using System" is like a tool you picked from the toolbox, and you put it on the workbench for use. An analogy would be "using Ruler". You picked a ruler, with it you can measure(point a-b) or drawStraightLine(20 cm).
15th May 2025, 1:29 PM
Wong Hei Ming
Wong Hei Ming - avatar
+ 3
Thanks
15th May 2025, 12:38 PM
Eamonn Rellis
Eamonn Rellis - avatar