if (File.Exists("C:\\example.txt")) { Console.WriteLine("File exists!"); }
Process.Start("notepad.exe");
DateTime now = DateTime.Now; Console.WriteLine(now);
string str1 = "Hello"; string str2 = "World"; string result = String.Concat(str1, " ", str2); Console.WriteLine(result);Package/library: System Overall, the System namespace is a fundamental part of the .NET Framework and provides a wide range of functionality for developers working with C#. Each function is contained within a specific package or library, which can help to improve organization and streamline coding processes.