It’s Mono which is an open source version of the .NET Framework, so is only tied to MS in terms of implementing similar API functionality – they could do their own thing if they wanted – and unlike MS .NET Mono is multi-platform.
Early European PS2s also came with YABasic on the packed in disc (there was an onscreen keyboard that you navigated with the controller- the hilarity!)