0

What is the difference between c# and c# using .net

i am a mca student and have a subject c# using .net i was familiar with .net but frankly speaking don't like it much and just have basic knowledge of .net so want to know how is c# and c# using .net are different and the course on solo learn is it the same one using .net or just c#.

20th Jun 2017, 2:22 PM
Praveen Kithani
Praveen Kithani - avatar
10 Respostas
0
nope you can compile without .net there is no dependancy. You can download mono compiler. Maybe VS also do that but I forgot to use Vs :)
20th Jun 2017, 3:59 PM
Joke
Joke - avatar
0
.net is a C# framework. c# is a high level oop programming language, framework is kind of collected bunch of library. When you open that library, in this example it is .net (designed for making web application) you see c# codes. So in sololearn you just learn c# , framework is a different things.
20th Jun 2017, 2:41 PM
Joke
Joke - avatar
0
so basically c# is a programing language just like java which uses .net framework
20th Jun 2017, 3:18 PM
Praveen Kithani
Praveen Kithani - avatar
0
yeap but you dont have to use .net for write it
20th Jun 2017, 3:19 PM
Joke
Joke - avatar
0
for example java is a language spring is a java framework, JavaScript is a script language JQuery is JavaScript framework :)
20th Jun 2017, 3:21 PM
Joke
Joke - avatar
0
so how do i write c# directly. i used visula studio. even if i dont use visual studio i need to compile it using csc command which is avaialble in .net library
20th Jun 2017, 3:33 PM
Praveen Kithani
Praveen Kithani - avatar
0
when you open new project it doesnt matter .net project or pure c# you always write c# codes. Its all up to you, using .net method or shortcut. You can link jquery to your page but you write javascript and you can use jquery function when you need it. And yes .net is not just other framework it is also runtime for executing application. extra explanation: https://stackoverflow.com/a/2724907
20th Jun 2017, 3:49 PM
Joke
Joke - avatar
0
so if the project is pure c# how do i compile it without .net that was my concern. like there is a dependancy on .net library right ? so do you mean that even if i use .net csc command to compile it can be pure c# without using any .net feature
20th Jun 2017, 3:51 PM
Praveen Kithani
Praveen Kithani - avatar
0
i just checked my syllabus its not actually c# but its asp.net using c# now i know classic asp but how is asp.net using c# different ?
20th Jun 2017, 3:57 PM
Praveen Kithani
Praveen Kithani - avatar
0
Again Asp also framework for web, but you can make console or desktop app with c# I am sure that. Classic asp depreciated now microsoft made asp.net for modern web app. You can create new project on console app so you can see pure c#:)
20th Jun 2017, 4:05 PM
Joke
Joke - avatar