Identifier Naming

Sean Kelly sean at f4.ca
Sat Mar 11 10:10:43 PST 2006


Thomas Kuehne wrote:
> 
> I just love C#:
> 
>> class NamingOnTheRocks{
>>    static int @if(int @while){
>>        return @while * @while;
>>    }
>>
>>    public static int Main(string[] args){
>>        int @return;
>>        int @static = 3, @switch = 8, @break = 2, @case = 3, @true = 0;
>>
>>        if(@if(@switch + @break) * @case != @true){
>>            @return = @static;
>>        }else{
>>            @return = @break / @static;
>>        }
>>
>>        return @return * 2;
>>    }
>> }
> 
> No joke - this is valid C# !

What a wonderful language :-p  What does the '@' represent?


Sean



More information about the Digitalmars-d-announce mailing list