c# or c#.net
-
Hi all, I wonder if i can program in c# only so the framework enviournment will net be needed on deployment ? what if i have made a .NET package with forms/API/system tray and now i dont want the .net thing? can i use the code to be compiled in a non framework enviournment? Thanks, Ran. R.Z
-
Hi all, I wonder if i can program in c# only so the framework enviournment will net be needed on deployment ? what if i have made a .NET package with forms/API/system tray and now i dont want the .net thing? can i use the code to be compiled in a non framework enviournment? Thanks, Ran. R.Z
ranzask wrote:
I wonder if i can program in c# only so the framework enviournment will net be needed on deployment ?
It will be needed, always.
ranzask wrote:
can i use the code to be compiled in a non framework enviournment?
No, sorry. But you can write your own compiler and class library. ;) It would be great! C# is a standard ECMA language, but all the available compilers (Microsoft and Mono) require a specific framework. ___________________________________ Tozzi is right: Gaia is getting rid of us. My Blog [ITA]
-
Hi all, I wonder if i can program in c# only so the framework enviournment will net be needed on deployment ? what if i have made a .NET package with forms/API/system tray and now i dont want the .net thing? can i use the code to be compiled in a non framework enviournment? Thanks, Ran. R.Z
I hope I understood you rightfully. C# only exists for .NET (as I know). If you use C# you use .NET. If you don't want to use .NET you have to use another language (like C++). You can compile a C# Programm for other plattforms (Linux, Mac OS) but you use .NET. Greetings, Ingo ------------------------------ A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
-
I hope I understood you rightfully. C# only exists for .NET (as I know). If you use C# you use .NET. If you don't want to use .NET you have to use another language (like C++). You can compile a C# Programm for other plattforms (Linux, Mac OS) but you use .NET. Greetings, Ingo ------------------------------ A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
You're a little wrong. C# is a (standard) language, so *theoretically* it can be compiled to any platform. You only need a compiler. The problem is that all the real-world implementations of a C# compilers require the .NET Framework (csc.exe or the Borland something.net) or the Mono Framework (Mono compiler). The 2 frameworks' BCL are not equal: many classes haven't the same name and/or aren't in the same namespace, so the same code won't compile on the 2 frameworks. :) ___________________________________ Tozzi is right: Gaia is getting rid of us. My Blog [ITA]
-
Hi all, I wonder if i can program in c# only so the framework enviournment will net be needed on deployment ? what if i have made a .NET package with forms/API/system tray and now i dont want the .net thing? can i use the code to be compiled in a non framework enviournment? Thanks, Ran. R.Z