Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
AnswerRe: Mouse Events Pin
Stefan Troschuetz18-Oct-05 5:59
Stefan Troschuetz18-Oct-05 5:59 
Questionsimple string operation Pin
hasanali0018-Oct-05 4:56
hasanali0018-Oct-05 4:56 
AnswerRe: simple string operation Pin
Wjousts18-Oct-05 6:35
Wjousts18-Oct-05 6:35 
AnswerRe: simple string operation Pin
leppie18-Oct-05 11:38
leppie18-Oct-05 11:38 
GeneralRe: simple string operation Pin
hasanali0020-Oct-05 2:58
hasanali0020-Oct-05 2:58 
QuestionDetect CLR Version at Compile Time Pin
Robert M Greene18-Oct-05 3:57
Robert M Greene18-Oct-05 3:57 
AnswerRe: Detect CLR Version at Compile Time Pin
Dave Kreskowiak18-Oct-05 7:53
mveDave Kreskowiak18-Oct-05 7:53 
AnswerRe: Detect CLR Version at Compile Time Pin
Tom Larsen18-Oct-05 8:08
Tom Larsen18-Oct-05 8:08 
There isn't. Java and .Net have been gravitating away from the concept of a "pre-compile" step so there is no "preprocessor" to mess with. I believe ultimately this is a good thing since it leads to cleaner, far more readible code.

More to the point, why do you need to know, at compile time, what version of the CLR is available? You need to remember that a machine might have multiple versions (if not multiple implementations) of CLR available to run against. What would one do with such information in any C# code anyway? Versioning is handled by attributes and metadata where the compiler doesn't care (beyond generating correct IL).
GeneralRe: Detect CLR Version at Compile Time Pin
Robert M Greene19-Oct-05 8:12
Robert M Greene19-Oct-05 8:12 
Questionlistview question c# win application Pin
fady_sayegh18-Oct-05 2:13
fady_sayegh18-Oct-05 2:13 
QuestionDisplaying time ONLY in a datagrid control Pin
Vikram A Punathambekar18-Oct-05 2:03
Vikram A Punathambekar18-Oct-05 2:03 
AnswerRe: Displaying time ONLY in a datagrid control Pin
Anonymous18-Oct-05 2:42
Anonymous18-Oct-05 2:42 
AnswerRe: Displaying time ONLY in a datagrid control Pin
Stan Shannon18-Oct-05 2:50
Stan Shannon18-Oct-05 2:50 
GeneralRe: Displaying time ONLY in a datagrid control Pin
Vikram A Punathambekar18-Oct-05 4:24
Vikram A Punathambekar18-Oct-05 4:24 
GeneralRe: Displaying time ONLY in a datagrid control Pin
Robert M Greene18-Oct-05 7:02
Robert M Greene18-Oct-05 7:02 
QuestionControls Leave Event - Help Pin
Craig G Fraser18-Oct-05 1:27
Craig G Fraser18-Oct-05 1:27 
AnswerRe: Controls Leave Event - Help Pin
Wjousts18-Oct-05 3:33
Wjousts18-Oct-05 3:33 
GeneralRe: Controls Leave Event - Help Pin
Craig G Fraser18-Oct-05 3:39
Craig G Fraser18-Oct-05 3:39 
GeneralRe: Controls Leave Event - Help Pin
Wjousts18-Oct-05 3:46
Wjousts18-Oct-05 3:46 
Questionencryption in c# Pin
sandy_francs18-Oct-05 1:13
sandy_francs18-Oct-05 1:13 
AnswerRe: encryption in c# Pin
Vikram A Punathambekar18-Oct-05 1:37
Vikram A Punathambekar18-Oct-05 1:37 
GeneralRe: encryption in c# Pin
sandy_francs18-Oct-05 16:14
sandy_francs18-Oct-05 16:14 
AnswerRe: encryption in c# Pin
Ryan Roberts18-Oct-05 1:41
Ryan Roberts18-Oct-05 1:41 
Questionhi all Pin
magnifique18-Oct-05 0:37
magnifique18-Oct-05 0:37 
AnswerRe: hi all Pin
Rob Philpott18-Oct-05 1:10
Rob Philpott18-Oct-05 1:10 

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.