Click here to Skip to main content
15,388,892 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is there a better way in Rx? Pin
Kenneth Haugland21-Mar-16 7:47
mvaKenneth Haugland21-Mar-16 7:47 
GeneralRe: Is there a better way in Rx? Pin
Matt T Heffron21-Mar-16 9:53
professionalMatt T Heffron21-Mar-16 9:53 
GeneralRe: Is there a better way in Rx? Pin
Matt T Heffron21-Mar-16 7:10
professionalMatt T Heffron21-Mar-16 7:10 
QuestionX Number Of Results Per Line Pin
MadDashCoder18-Mar-16 11:16
MemberMadDashCoder18-Mar-16 11:16 
QuestionRe: X Number Of Results Per Line Pin
CHill6018-Mar-16 11:50
mveCHill6018-Mar-16 11:50 
AnswerRe: X Number Of Results Per Line Pin
MadDashCoder18-Mar-16 12:44
MemberMadDashCoder18-Mar-16 12:44 
AnswerRe: X Number Of Results Per Line Pin
Richard Andrew x6418-Mar-16 12:42
professionalRichard Andrew x6418-Mar-16 12:42 
AnswerRe: X Number Of Results Per Line Pin
Sascha Lefèvre18-Mar-16 14:45
professionalSascha Lefèvre18-Mar-16 14:45 
GeneralRe: X Number Of Results Per Line Pin
Brisingr Aerowing18-Mar-16 15:08
professionalBrisingr Aerowing18-Mar-16 15:08 
GeneralRe: X Number Of Results Per Line Pin
Luc Pattyn19-Mar-16 14:12
sitebuilderLuc Pattyn19-Mar-16 14:12 
GeneralRe: X Number Of Results Per Line Pin
Brisingr Aerowing19-Mar-16 20:30
professionalBrisingr Aerowing19-Mar-16 20:30 
AnswerRe: X Number Of Results Per Line Pin
Richard Deeming21-Mar-16 2:50
mveRichard Deeming21-Mar-16 2:50 
MadDashCoder wrote:
for (int i = 100; i <= 10000; i++)
{
    if (IsOddNumber(i))
    {
        OddNumbers.Append(i).Append(comma);
    }
}

Why? Iterating just the odd numbers isn't exactly difficult:
C#
for (int i = 101; i < 10000; i += 2)
{
    OddNumbers.Append(i).Append(comma);
}




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


QuestionSocket closing without FIN from peer Pin
MidwestLimey17-Mar-16 9:39
professionalMidwestLimey17-Mar-16 9:39 
AnswerRe: Socket closing without FIN from peer Pin
Fueled By Decaff18-Mar-16 3:52
MemberFueled By Decaff18-Mar-16 3:52 
GeneralRe: Socket closing without FIN from peer Pin
MidwestLimey18-Mar-16 14:17
professionalMidwestLimey18-Mar-16 14:17 
QuestionHow can i create a dialog box window in asp.net C# (web) which contains many field? Pin
Hameed Khan17-Mar-16 5:35
MemberHameed Khan17-Mar-16 5:35 
AnswerRe: How can i create a dialog box window in asp.net C# (web) which contains many field? Pin
OriginalGriff17-Mar-16 6:28
mveOriginalGriff17-Mar-16 6:28 
SuggestionRe: How can i create a dialog box window in asp.net C# (web) which contains many field? Pin
Richard Deeming17-Mar-16 6:58
mveRichard Deeming17-Mar-16 6:58 
GeneralRe: How can i create a dialog box window in asp.net C# (web) which contains many field? Pin
OriginalGriff17-Mar-16 7:10
mveOriginalGriff17-Mar-16 7:10 
QuestionRe: How can i create a dialog box window in asp.net C# (web) which contains many field? Pin
ZurdoDev17-Mar-16 10:15
professionalZurdoDev17-Mar-16 10:15 
AnswerRe: How can i create a dialog box window in asp.net C# (web) which contains many field? Pin
F-ES Sitecore18-Mar-16 0:37
professionalF-ES Sitecore18-Mar-16 0:37 
QuestionTime Elapse Pin
Aelmfr16-Mar-16 13:57
MemberAelmfr16-Mar-16 13:57 
AnswerRe: Time Elapse Pin
Garth J Lancaster16-Mar-16 14:30
professionalGarth J Lancaster16-Mar-16 14:30 
GeneralRe: Time Elapse Pin
Aelmfr16-Mar-16 14:46
MemberAelmfr16-Mar-16 14:46 
AnswerRe: Time Elapse Pin
Patrice T16-Mar-16 14:37
mvePatrice T16-Mar-16 14:37 

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.