C# is a language. It compiles to IL which is platform independent bytecode. It runs anywhere the .NET runtime (or other CLI compliant host) runs. Which includes MacOS, Linux, Raspberry Pi, Android, iOS, Unity (which runs on PC, Linux, Mobile, and all the major consoles).
---
RT @rochakchauhan
@akyriako78 @CHBernasconiC Unlike NET Core, C# is Powered by Microsoft and works only on Microsoft, hence Platform Dependent.
It works best…
https://twitter.com/rochakchauhan/status/1654108053149458432