class Program
{
static int Main(string[] args)
{
// at this point the program really should be outputting text to the
// console. we must take into account 78 character maximum line length
// and ensure that we use Environment.NewLine for line endings.
// ideally should provide multi-region language support and UTF-8 /
// UTF-16 encoding.
Console.WriteLine("Hello World");
}
}
в java — это стандарт, а например в c# — нет. лучше пользоваться стандартным форматированием в среде. ведь расположение скобок не дает никаких преимуществ
class Program
{
static int Main(string[] args)
{
// at this point the program really should be outputting text to the
// console. we must take into account 78 character maximum line length
// and ensure that we use Environment.NewLine for line endings.
// ideally should provide multi-region language support and UTF-8 /
// UTF-16 encoding.
Console.WriteLine("Hello World");
}
}