From: Steve Hoelzer Date: Fri, 06 Jun 2014 13:27:43 GMT Subject: Re: [PATCH 1/2] userdiff: support C# async methods and correct C# keywords Message-ID: In-Reply-To: On Thu, Jun 5, 2014 at 5:59 PM, Junio C Hamano wrote: > Sup Yut Sum 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