📜 ⬆️ ⬇️

Why is Windows 10, not 9. Explanation with a single line of code

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/238915/


All Articles