tabs ↹ over ␣ ␣ ␣ spaces

by Jiří {x2} Činčura

C# class named “end”

11 Aug 2023 1 mins C#

I was today’s years old when I realized I can create class named end in C#.

It makes sense. The end is not a reserved word.

using System;

Console.WriteLine(new end());

class end { }

Now I’m wondering what kind of fun I could make with it… 😉 And yes, it’s absolutely dumb to have a class with such a name.

Profile Picture Jiří Činčura is .NET, C# and Firebird expert. He focuses on data and business layers, language constructs, parallelism, databases and performance. For almost two decades he contributes to open-source, i.e. FirebirdClient. He works as a senior software engineer for Microsoft. Frequent speaker and blogger at www.tabsoverspaces.com.