Click here to Skip to main content
15,906,106 members
Home / Discussions / C#
   

C#

 
QuestionFormat DateTime to string with no seconds Pin
anderslundsgard21-Jan-09 1:12
anderslundsgard21-Jan-09 1:12 
AnswerRe: Format DateTime to string with no seconds Pin
Christian Graus21-Jan-09 1:15
protectorChristian Graus21-Jan-09 1:15 
GeneralRe: Format DateTime to string with no seconds Pin
anderslundsgard21-Jan-09 6:52
anderslundsgard21-Jan-09 6:52 
AnswerRe: Format DateTime to string with no seconds Pin
Ennis Ray Lynch, Jr.21-Jan-09 2:24
Ennis Ray Lynch, Jr.21-Jan-09 2:24 
AnswerRe: Format DateTime to string with no seconds [modified] Pin
#realJSOP21-Jan-09 3:13
professional#realJSOP21-Jan-09 3:13 
AnswerRe: Format DateTime to string with no seconds Pin
PIEBALDconsult21-Jan-09 5:27
mvePIEBALDconsult21-Jan-09 5:27 
QuestionHow to implement kerberos authentication in ASP.net Pin
lachu00921-Jan-09 0:14
lachu00921-Jan-09 0:14 
AnswerRe: How to implement kerberos authentication in ASP.net Pin
musefan21-Jan-09 0:41
musefan21-Jan-09 0:41 
AnswerRe: How to implement kerberos authentication in ASP.net Pin
Christian Graus21-Jan-09 1:11
protectorChristian Graus21-Jan-09 1:11 
GeneralRe: How to implement kerberos authentication in ASP.net Pin
Pete O'Hanlon21-Jan-09 1:14
mvePete O'Hanlon21-Jan-09 1:14 
GeneralRe: How to implement kerberos authentication in ASP.net Pin
Christian Graus21-Jan-09 1:15
protectorChristian Graus21-Jan-09 1:15 
AnswerRe: How to implement kerberos authentication in ASP.net Pin
Pete O'Hanlon21-Jan-09 1:12
mvePete O'Hanlon21-Jan-09 1:12 
AnswerRe: How to implement kerberos authentication in ASP.net Pin
Ennis Ray Lynch, Jr.21-Jan-09 2:25
Ennis Ray Lynch, Jr.21-Jan-09 2:25 
QuestionMy Network Service Finder is sooooo sloooww Pin
Silvyster20-Jan-09 23:44
Silvyster20-Jan-09 23:44 
AnswerRe: My Network Service Finder is sooooo sloooww Pin
DaveyM6920-Jan-09 23:50
professionalDaveyM6920-Jan-09 23:50 
GeneralRe: My Network Service Finder is sooooo sloooww Pin
Silvyster21-Jan-09 0:16
Silvyster21-Jan-09 0:16 
AnswerRe: My Network Service Finder is sooooo sloooww Pin
Schmuli21-Jan-09 4:24
Schmuli21-Jan-09 4:24 
AnswerRe: My Network Service Finder is sooooo sloooww Pin
Schmuli21-Jan-09 4:26
Schmuli21-Jan-09 4:26 
QuestionProgrammatically get conditional compilation symbols? Pin
Jon Hulatt20-Jan-09 23:38
Jon Hulatt20-Jan-09 23:38 
AnswerRe: Programmatically get conditional compilation symbols? Pin
User 665820-Jan-09 23:48
User 665820-Jan-09 23:48 
GeneralRe: Programmatically get conditional compilation symbols? Pin
Jon Hulatt21-Jan-09 0:11
Jon Hulatt21-Jan-09 0:11 
AnswerRe: Programmatically get conditional compilation symbols? Pin
PIEBALDconsult21-Jan-09 5:41
mvePIEBALDconsult21-Jan-09 5:41 
Certainly not automatically, but if it's important enough you could probably engineer a mechanism.

Something along these lines comes to mind:

public static readonly System.Collections.Generic.HashSet<string> DefinedOptions = 
    new System.Collections.Generic.HashSet<string>() ;
...
 
# if DEBUG
    DefinedOptions.Add ( "DEBUG" ) ;
...
# endif


But that would only work where such statements are valid.


On the other hand, I question whether or not using conditional compilation is an appropriate technique for your requirement.
QuestionNew to Custom Controls - Question Pin
Programm3r20-Jan-09 23:12
Programm3r20-Jan-09 23:12 
AnswerRe: New to Custom Controls - Question Pin
Rob Philpott20-Jan-09 23:37
Rob Philpott20-Jan-09 23:37 
GeneralRe: New to Custom Controls - Question Pin
Programm3r21-Jan-09 0:59
Programm3r21-Jan-09 0:59 

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.