Click here to Skip to main content
15,436,916 members
Home / Discussions / C#
   

C#

 
GeneralRe: StringBuilder vs += on string Pin
Ennis Ray Lynch, Jr.11-Aug-10 9:35
MemberEnnis Ray Lynch, Jr.11-Aug-10 9:35 
GeneralRe: StringBuilder vs += on string Pin
Luc Pattyn11-Aug-10 9:45
sitebuilderLuc Pattyn11-Aug-10 9:45 
JokeThe irony Pin
Ennis Ray Lynch, Jr.11-Aug-10 10:11
MemberEnnis Ray Lynch, Jr.11-Aug-10 10:11 
GeneralRe: The irony Pin
Luc Pattyn11-Aug-10 10:17
sitebuilderLuc Pattyn11-Aug-10 10:17 
AnswerRe: StringBuilder vs += on string Pin
AspDotNetDev11-Aug-10 9:22
protectorAspDotNetDev11-Aug-10 9:22 
QuestionMultiple report system Pin
Neo Maximus11-Aug-10 4:14
MemberNeo Maximus11-Aug-10 4:14 
AnswerRe: Multiple report system Pin
Chris Trelawny-Ross11-Aug-10 8:19
MemberChris Trelawny-Ross11-Aug-10 8:19 
QuestionSystem.Globalization.CultureInfo [modified] Pin
ONeil Tomlinson11-Aug-10 3:55
MemberONeil Tomlinson11-Aug-10 3:55 
string varTempStr = "20100720";
System.Globalization.CultureInfo enUk = new System.Globalization.CultureInfo("en-GB");
DateTime billingDate1 = System.DateTime.ParseExact(varTempStr, "yyyyMMdd", enUk);

System.Globalization.CultureInfo enUS = new System.Globalization.CultureInfo("en-US");
DateTime billingDate2 = System.DateTime.ParseExact(varTempStr, "yyyyMMdd", enUS);

string x = billingDate1.ToString();
string y = billingDate2.ToString();


Why are 'x' and 'y' coming back as the same value ("20/07/2010 00:00:00")?
Why not x= "20/07/2010 00:00:00" and y = "07/20/2010 00:00:00"?

modified on Wednesday, August 11, 2010 10:02 AM

AnswerRe: System.Globalization.CultureInfo Pin
Dewald11-Aug-10 4:09
MemberDewald11-Aug-10 4:09 
AnswerRe: System.Globalization.CultureInfo Pin
Ian Shlasko11-Aug-10 4:09
MemberIan Shlasko11-Aug-10 4:09 
QuestionConstraints taking either types in generics Pin
dashingsidds11-Aug-10 3:34
Memberdashingsidds11-Aug-10 3:34 
AnswerRe: Constraints taking either types in generics Pin
Ennis Ray Lynch, Jr.11-Aug-10 3:52
MemberEnnis Ray Lynch, Jr.11-Aug-10 3:52 
AnswerRe: Constraints taking either types in generics Pin
kapax511-Aug-10 3:52
Memberkapax511-Aug-10 3:52 
GeneralRe: Constraints taking either types in generics Pin
dashingsidds11-Aug-10 4:00
Memberdashingsidds11-Aug-10 4:00 
GeneralRe: Constraints taking either types in generics Pin
Luc Pattyn11-Aug-10 4:14
sitebuilderLuc Pattyn11-Aug-10 4:14 
GeneralRe: Constraints taking either types in generics Pin
kapax511-Aug-10 4:24
Memberkapax511-Aug-10 4:24 
AnswerRe: Constraints taking either types in generics Pin
Łukasz Nowakowski11-Aug-10 4:00
MemberŁukasz Nowakowski11-Aug-10 4:00 
AnswerRe: Constraints taking either types in generics Pin
Covean11-Aug-10 5:49
MemberCovean11-Aug-10 5:49 
GeneralRe: Constraints taking either types in generics Pin
PIEBALDconsult11-Aug-10 16:45
professionalPIEBALDconsult11-Aug-10 16:45 
GeneralRe: Constraints taking either types in generics Pin
Covean11-Aug-10 22:31
MemberCovean11-Aug-10 22:31 
AnswerRe: Constraints taking either types in generics Pin
PIEBALDconsult11-Aug-10 16:37
professionalPIEBALDconsult11-Aug-10 16:37 
Questionsql express installing when I call it from my program, but does not work!! Pin
lourensG11-Aug-10 3:04
MemberlourensG11-Aug-10 3:04 
AnswerRe: sql express installing when I call it from my program, but does not work!! Pin
PIEBALDconsult11-Aug-10 3:07
professionalPIEBALDconsult11-Aug-10 3:07 
GeneralRe: sql express installing when I call it from my program, but does not work!! [modified] Pin
lourensG11-Aug-10 3:15
MemberlourensG11-Aug-10 3:15 
GeneralRe: sql express installing when I call it from my program, but does not work!! Pin
Dave Kreskowiak11-Aug-10 5:56
mveDave Kreskowiak11-Aug-10 5:56 

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.