Can C# exist without dotnet??
-
Hai, I am having following queries regarding to C#.Please clear my Queries 1) Is C# fully dependendent of DotNet. With out dotnet C# don't have any existance? 2)Without using dotnet frame work's compiler can we compile a C# program.Any other compiler is there to compile a C# program. 3) Can we write stand alone programs in C# and compile? 4)Can we develop any application using C# alone in notepad editor and without using dotnet(including dotnet frame work) 5) What is the compiler compiles C# program in dotnet frame work? Please give me a clear view in this. Thank You, Rahul.P.Menon. SoftwareDeveloper(.NET)
-
Hai, I am having following queries regarding to C#.Please clear my Queries 1) Is C# fully dependendent of DotNet. With out dotnet C# don't have any existance? 2)Without using dotnet frame work's compiler can we compile a C# program.Any other compiler is there to compile a C# program. 3) Can we write stand alone programs in C# and compile? 4)Can we develop any application using C# alone in notepad editor and without using dotnet(including dotnet frame work) 5) What is the compiler compiles C# program in dotnet frame work? Please give me a clear view in this. Thank You, Rahul.P.Menon. SoftwareDeveloper(.NET)
As i know, C# runs in other frameworks rather MS .NET like: Mono, GTK#. C# is framework dependant (i think that's why we call it managed code, there's a lot of undercode, correct me if i'm wrong).If you have one of the above frameworks you can surely write apps in notepad. That's all i can say for now (not too much).
-
Hai, I am having following queries regarding to C#.Please clear my Queries 1) Is C# fully dependendent of DotNet. With out dotnet C# don't have any existance? 2)Without using dotnet frame work's compiler can we compile a C# program.Any other compiler is there to compile a C# program. 3) Can we write stand alone programs in C# and compile? 4)Can we develop any application using C# alone in notepad editor and without using dotnet(including dotnet frame work) 5) What is the compiler compiles C# program in dotnet frame work? Please give me a clear view in this. Thank You, Rahul.P.Menon. SoftwareDeveloper(.NET)
Hello Rahul.P.Menon wrote: 1) Is C# fully dependendent of DotNet. With out dotnet C# don't have any existance? Is it possible to produce eggs without chickens ? ;) No. C# is a .NET language, so any program written on C# requires .NET framework. Rahul.P.Menon wrote: 2)Without using dotnet frame work's compiler can we compile a C# program.Any other compiler is there to compile a C# program. You can try to look on Mono[^] project, which allows you to write C# application on Linux and Windows too. Rahul.P.Menon wrote: 3) Can we write stand alone programs in C# and compile? Do you mean which does not require .NET framework ? No again. Rahul.P.Menon wrote: 4)Can we develop any application using C# alone in notepad editor and without using dotnet(including dotnet frame work) You can write your application in any editor, even in notepad if you are masochist. But, no, you will not be able to compile it without .NET Framework. Rahul.P.Menon wrote: 5) What is the compiler compiles C# program in dotnet frame work?
csc.exe
With best regards, Andrew -
Hello Rahul.P.Menon wrote: 1) Is C# fully dependendent of DotNet. With out dotnet C# don't have any existance? Is it possible to produce eggs without chickens ? ;) No. C# is a .NET language, so any program written on C# requires .NET framework. Rahul.P.Menon wrote: 2)Without using dotnet frame work's compiler can we compile a C# program.Any other compiler is there to compile a C# program. You can try to look on Mono[^] project, which allows you to write C# application on Linux and Windows too. Rahul.P.Menon wrote: 3) Can we write stand alone programs in C# and compile? Do you mean which does not require .NET framework ? No again. Rahul.P.Menon wrote: 4)Can we develop any application using C# alone in notepad editor and without using dotnet(including dotnet frame work) You can write your application in any editor, even in notepad if you are masochist. But, no, you will not be able to compile it without .NET Framework. Rahul.P.Menon wrote: 5) What is the compiler compiles C# program in dotnet frame work?
csc.exe
With best regards, AndrewHai, Thanks much for the valuable information. But it really seems bad for powerful language like C# always depend on dotnet frame work. Thank you, Rahul.P.Menon SoftwareDeveloper(.NET)
-
Hai, Thanks much for the valuable information. But it really seems bad for powerful language like C# always depend on dotnet frame work. Thank you, Rahul.P.Menon SoftwareDeveloper(.NET)
-
Hai, Thanks much for the valuable information. But it really seems bad for powerful language like C# always depend on dotnet frame work. Thank you, Rahul.P.Menon SoftwareDeveloper(.NET)
Rahul, Your statement is roughly analagous to saying: "It seems bad for this lovely suede bucket seat to depend upon an engine, steering wheel, suspension, wheels, chassis and drive train to get around." Without the mechanical parts, there is no car no matter how lovely and soft the seat is (provided your last name isn't Flintstone). The language is a tool for combining and expressing the contents of the framework in interesting or useful ways (or in completely boring or silly ways - makes no difference). It might be considered nothing more than a convenience or abstraction to save developers the time it would take to write IL directly, and that's really all it amounts to - semantic games to keep developers working and off Prozac. Without the framework, C# or any of the other .Net languages would have little of the power they now offer in terms of rapid development. They would lack (among other things) a type system and a runtime environment - CLR and CTS are both considered parts of the framework. For giggles, imagine coding an application without any of the types in mscorlib.dll some time. It might be easier to think in framework-centric terms. The framework is the necessary part of any managed code solution; the language is the variable/disposable part - it matters least.
The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’
-
Rahul, Your statement is roughly analagous to saying: "It seems bad for this lovely suede bucket seat to depend upon an engine, steering wheel, suspension, wheels, chassis and drive train to get around." Without the mechanical parts, there is no car no matter how lovely and soft the seat is (provided your last name isn't Flintstone). The language is a tool for combining and expressing the contents of the framework in interesting or useful ways (or in completely boring or silly ways - makes no difference). It might be considered nothing more than a convenience or abstraction to save developers the time it would take to write IL directly, and that's really all it amounts to - semantic games to keep developers working and off Prozac. Without the framework, C# or any of the other .Net languages would have little of the power they now offer in terms of rapid development. They would lack (among other things) a type system and a runtime environment - CLR and CTS are both considered parts of the framework. For giggles, imagine coding an application without any of the types in mscorlib.dll some time. It might be easier to think in framework-centric terms. The framework is the necessary part of any managed code solution; the language is the variable/disposable part - it matters least.
The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’
Hai, Whatever you told is right.If a car engine is specific for particular wheel or a particular chasis or steering how we can say that we can depend on that car engine.If the car engine functions independendent of other things , a person can use accessories he like. C++,VB,Java are using independantly to develop stand applications. Like that why C# alone is not using to develop applications.But C# is using with dotnet to develop application. If the csc.exe compiler can compile C# program ,Can it use alone to develop applications. I know using dotnet tool it is easy and rapid to make applications.So developing application without tool is out of scope and not necessary.Only because of this C# is not trying to use alone. Because of my anxiety I raised these queries,so that I can correct my wrong I deas and aquire much information.Thank you very much for all the help and information provided. Thank You, Rahul.P.Menon SoftwareDeveloper(.NET)
-
Hai, Whatever you told is right.If a car engine is specific for particular wheel or a particular chasis or steering how we can say that we can depend on that car engine.If the car engine functions independendent of other things , a person can use accessories he like. C++,VB,Java are using independantly to develop stand applications. Like that why C# alone is not using to develop applications.But C# is using with dotnet to develop application. If the csc.exe compiler can compile C# program ,Can it use alone to develop applications. I know using dotnet tool it is easy and rapid to make applications.So developing application without tool is out of scope and not necessary.Only because of this C# is not trying to use alone. Because of my anxiety I raised these queries,so that I can correct my wrong I deas and aquire much information.Thank you very much for all the help and information provided. Thank You, Rahul.P.Menon SoftwareDeveloper(.NET)
Rahul.P.Menon wrote: C++,VB,Java are using independantly to develop stand applications. Each of these is no different than C# or VB.NET or Managed C++. Wrong. They all have their own run-time environments. Java is the closest cousin to the .NET Framework. The compilers for C++, C#, and VB.NET are built into the .NET Framework, exctly like Java's compiler is built into it's framework environment. C# is just as "stand alone" as anything else... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Hai, Thanks much for the valuable information. But it really seems bad for powerful language like C# always depend on dotnet frame work. Thank you, Rahul.P.Menon SoftwareDeveloper(.NET)
It is powerful because it DOES depend on the .NET framework, as do C++.NET and VB.NET. Java depends just as greatly on the JRE, the only difference is terminology. VB6 might be just a little more independent, but you could say that it depends on the Windows framework (system DLLs), they just happen to come with the operating system. I can write a program in PowerBuilder 9 and compile it, but I must make sure the user has PBVM90.DLL and LIBJCC.DLL on the path for that executable. And if I want use Datawindows, PBDWE90.DLL. And if I want to use an ODBC database, PBODB90.DLL and PBODB90.INI. (The list goes on...) Those are PowerBuilder's "framework", although they don't call it that. The advantage with C# (and C++ and VB) .NET is that you (the developer) don't have to worry about the framework being on the path, windows handles that for you. The user can install the .NET framework from the web, and you can just give them your EXE file. (Or whatever you developed). Perhaps you are confused about the difference between the .NET framework and Visual Studio .NET? Your users don't have to have Visual Studio, they only need the .NET runtime, which is freely downloadable from Micorsoft.com.