Re: [PATCH 1/2] userdiff: support C# async methods and correct C# keywords

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 5, 2014 at 5:59 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Sup Yut Sum <ch3cooli@xxxxxxxxx> writes:
>
>> async is in C# 5.0
>> foreach is in C# 1.0
>
>> instanceof is in Java. The similar keywords are typeof, is, as in C# 1.0
>
> This one made me read it twice, until I realized you meant
>
>     instanceof() is listed as keywords, but there is no such thing
>     (it is in Java, though); in C# we use typeof() for similar
>     purposes

The original email was a bit hard to parse. Junio's clarification left
out the C# keywords 'is' and 'as'. I suggest phrasing it like this:

instanceof() is listed as keywords, but there is no such thing (it is
in Java, though); in C# we use typeof(), 'is', and 'as for similar
purposes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]