Click here to Skip to main content
15,867,686 members
Home / Discussions / C#
   

C#

 
AnswerRe: huffman markov of orden 1 Pin
BobJanova1-Oct-12 6:15
BobJanova1-Oct-12 6:15 
QuestionAre C# versions tied to the IDE? Pin
charlieg1-Oct-12 3:42
charlieg1-Oct-12 3:42 
AnswerRe: Are C# versions tied to the IDE? Pin
Pete O'Hanlon1-Oct-12 3:55
subeditorPete O'Hanlon1-Oct-12 3:55 
GeneralRe: Are C# versions tied to the IDE? Pin
charlieg1-Oct-12 4:06
charlieg1-Oct-12 4:06 
GeneralRe: Are C# versions tied to the IDE? Pin
Smart Arab1-Oct-12 5:46
Smart Arab1-Oct-12 5:46 
GeneralRe: Are C# versions tied to the IDE? Pin
charlieg1-Oct-12 9:17
charlieg1-Oct-12 9:17 
GeneralRe: Are C# versions tied to the IDE? Pin
Eddy Vluggen2-Oct-12 3:21
professionalEddy Vluggen2-Oct-12 3:21 
AnswerRe: Are C# versions tied to the IDE? Pin
BobJanova1-Oct-12 6:22
BobJanova1-Oct-12 6:22 
Yes and no. Versions of the C# language are tied to a particular version of the C# compiler (i.e. csc.exe), and those come with a particular version of the .Net Framework – which typically has the same number as the language version, but not always (i.e. .Net 1.1 and .Net 3.5 provide C# 1 and C# 3, but the framework libraries were extended).

The .Net Framework is backward-compatible, so a .Net 2 application will run under 3.5, 4 or 4.5. However, the reverse isn't true: a .Net 4 assembly won't load under .Net 2.0. This is somewhat complicated because the underlying framework didn't change between 2.0 and 3.5, so I think a 3.5 assembly will load on .Net 2.0.

With each edition of .Net, Microsoft also update Visual Studio so that it can target the new platform. That means that if you want to create a project that targets version 4.0 of the .Net Framework you need VS2010, and so on. This is largely because they want you to upgrade, in that the linking process is the same and there's no reason they can't allow you to update configuration files for the old version, although there are sometimes major new features (e.g. WPF or WCF) which you wouldn't get without a new IDE.

In addition, newer IDEs support the syntax of the newer language version, without which autocomplete, syntax highlighting, auto-braces and other in-IDE features wouldn't work. This is a direct linkage between IDE and supported language.

So the short answer is: yes, you need a new enough version of Visual Studio (or whatever IDE you choose to use) to target a particular framework version. But it's not as simple as just language-to-IDE. For any .Net version, you can still code in a text editor and run the compiler on the command line.
GeneralRe: Are C# versions tied to the IDE? Pin
charlieg1-Oct-12 9:16
charlieg1-Oct-12 9:16 
AnswerRe: Are C# versions tied to the IDE? Pin
Clifford Nelson1-Oct-12 12:24
Clifford Nelson1-Oct-12 12:24 
GeneralRe: Are C# versions tied to the IDE? Pin
Member 86976872-Oct-12 2:23
Member 86976872-Oct-12 2:23 
Questionfloat from bytes Pin
__John_1-Oct-12 1:01
__John_1-Oct-12 1:01 
AnswerRe: float from bytes Pin
OriginalGriff1-Oct-12 1:09
mveOriginalGriff1-Oct-12 1:09 
AnswerMessage Closed Pin
1-Oct-12 1:30
professionalAmarnath S1-Oct-12 1:30 
GeneralRe: float from bytes Pin
__John_1-Oct-12 1:55
__John_1-Oct-12 1:55 
GeneralRe: float from bytes Pin
BobJanova1-Oct-12 6:24
BobJanova1-Oct-12 6:24 
QuestionDraggable dynamic controls Pin
Shashank Srivastava1)1-Oct-12 0:52
Shashank Srivastava1)1-Oct-12 0:52 
AnswerRe: Draggable dynamic controls Pin
Kenneth Haugland1-Oct-12 0:59
mvaKenneth Haugland1-Oct-12 0:59 
GeneralRe: Draggable dynamic controls Pin
Shashank Srivastava1)1-Oct-12 1:08
Shashank Srivastava1)1-Oct-12 1:08 
GeneralRe: Draggable dynamic controls Pin
Shashank Srivastava1)1-Oct-12 2:07
Shashank Srivastava1)1-Oct-12 2:07 
GeneralRe: Draggable dynamic controls Pin
Pete O'Hanlon1-Oct-12 3:56
subeditorPete O'Hanlon1-Oct-12 3:56 
QuestionRead structured text file to listview in C #? Pin
Member 245846730-Sep-12 23:10
Member 245846730-Sep-12 23:10 
AnswerRe: Read structured text file to listview in C #? Pin
Smart Arab30-Sep-12 23:19
Smart Arab30-Sep-12 23:19 
AnswerRe: Read structured text file to listview in C #? Pin
Eddy Vluggen1-Oct-12 1:01
professionalEddy Vluggen1-Oct-12 1:01 
QuestionC# linq issue Pin
classy_dog30-Sep-12 20:00
classy_dog30-Sep-12 20:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.