I'm writing C# code (.NET 6) in MacOS to behave different in 2 Windows Platforms. One is Windows 7 and the other is Windows Server 2008 R2. I learned from MSDN that these 2 OS platforms share the same major version and minor version!
The version map is here https://learn.microsoft.com/en-us/windows/win32/sysinfo/operating-system-version. We could see that the major is 6 and the minor is 1. I can't specify the OS platform
Could anyone help me resolve this problem?