Click here to Skip to main content
15,913,453 members
Home / Discussions / C#
   

C#

 
GeneralRe: ColorDialog Question Pin
QzRz18-Oct-05 7:07
QzRz18-Oct-05 7:07 
QuestionNamespace System.Configuration for .net 2.0 Pin
akyriako7818-Oct-05 5:14
akyriako7818-Oct-05 5:14 
QuestionMouse Events Pin
ShimiG18-Oct-05 5:04
ShimiG18-Oct-05 5:04 
AnswerRe: Mouse Events Pin
Robert Rohde18-Oct-05 5:46
Robert Rohde18-Oct-05 5:46 
GeneralRe: Mouse Events Pin
ShimiG18-Oct-05 5:53
ShimiG18-Oct-05 5:53 
GeneralRe: Mouse Events Pin
Stefan Troschuetz18-Oct-05 6:33
Stefan Troschuetz18-Oct-05 6:33 
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 

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.