visual studio - What does .net source (C#, VB.net) look like in other (non-english) languages? -


as title says, little curious...i have seen european open-source projects post source, syntactically identical. chinese or japanese or other more complex character-based languages?

update: little misleading guess. asking "traditional" .net languages c#, vb.net, maybe f# etc. understand there newer .net languages being create support non-english written , spoken languages , appear dissimilar similar source written in vb.net , c#.

i try vote few people , mark answer intended question answer.

the keywords in english, of code same in language. people use local languages identifier names, others keep names in english too.

here's example of how code swedish identifiers:

public class stensaxpåse {    public enum värde { papper = 0, sten = 1, sax = 2 }    private värde _värde;    public stensaxpåse(random slump) {     _värde = (värde)slump.next(3);   }    public bool sammasom(stensaxpåse andra) {     return _värde == andra._värde;   }    public bool slår(stensaxpåse andra) {     return       (_värde == värde.papper && andra._värde == värde.sten) ||       (_värde == värde.sten && andra._värde == värde.sax) ||       (_värde == värde.sax && andra._värde == värde.papper);   }    public override string tostring() {     switch (_värde) {       case värde.papper: return "papper";       case värde.sten: return "sten";       default: return "sax";     }   }  } 

Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -