なぜWindows 10でなく9なのか。1行のコードで説明

Windows : , , ?

— Windows Threshold, , «, , , » "". — Mac OS X ( ).

Microsoft, ( ): « , :

if(version.StartsWith("Windows 9"))
{ /* 95 and 98 */
} else {


Windows 10 — ».




vilianov. Microsoft .

Upd: Smile42RU:

- Microsoft, Reddit.
- : issues.jenkins-ci.org/secure/attachment/18777/PlatformDetailsTask.java

System.getProperty(«os.name») — Java, . Windows NT «».


Source: https://habr.com/ru/post/J238915/


All Articles