❔ dotnet vs C#
I'm using dotnet and C# for 5 years now, I have worked on many projects. but still have that one questions, and I fell newbie when I ask that in any place but I have never found any reasonable answer to that.
I have used python, java, C++, C, javascript, php. all of those languages can be used without any framework. Like for java, we can use that alone, or we can use that in springboot or other frameworks. but for C#, I have never seen that we can use C# without .NET. it seems like it is tied to .NET, and we can't use that outside .NET umbrella.
For example, I want to use a cli app with C#, and compile directly C# without involving dotnet. Can I do so? why Base libraries are in dotnet, does this means we can't use C# without dotnet.
I have used python, java, C++, C, javascript, php. all of those languages can be used without any framework. Like for java, we can use that alone, or we can use that in springboot or other frameworks. but for C#, I have never seen that we can use C# without .NET. it seems like it is tied to .NET, and we can't use that outside .NET umbrella.
For example, I want to use a cli app with C#, and compile directly C# without involving dotnet. Can I do so? why Base libraries are in dotnet, does this means we can't use C# without dotnet.