Click here to Skip to main content
13,143,985 members (34,164 online)

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralBeating the compiler Pin
harold aptroot14-Jun-13 11:29
memberharold aptroot14-Jun-13 11:29 
GeneralRe: Beating the compiler Pin
_Maxxx_14-Jun-13 11:47
member_Maxxx_14-Jun-13 11:47 
I'd have done

String s = number.ToString();
s=s.substring(s.Length-1);
return (s=="0" || s=="5")


But then I am entering the omgwtf coding competition Wink | ;)
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011

.\\axxx
(That's an 'M')

GeneralRe: Beating the compiler Pin
Ron Beyer14-Jun-13 12:00
professionalRon Beyer14-Jun-13 12:00 
GeneralRe: Beating the compiler Pin
Big Daddy Farang14-Jun-13 12:06
memberBig Daddy Farang14-Jun-13 12:06 
GeneralRe: Beating the compiler Pin
Ron Beyer14-Jun-13 12:17
professionalRon Beyer14-Jun-13 12:17 
GeneralRe: Beating the compiler Pin
Big Daddy Farang14-Jun-13 12:20
memberBig Daddy Farang14-Jun-13 12:20 
GeneralRe: Beating the compiler Pin
_Maxxx_14-Jun-13 13:09
member_Maxxx_14-Jun-13 13:09 
GeneralRe: Beating the compiler Pin
Ron Beyer14-Jun-13 13:14
professionalRon Beyer14-Jun-13 13:14 
GeneralRe: Beating the compiler Pin
jschell17-Jun-13 8:29
memberjschell17-Jun-13 8:29 
GeneralRe: Beating the compiler Pin
Ron Beyer17-Jun-13 8:36
professionalRon Beyer17-Jun-13 8:36 
GeneralRe: Beating the compiler Pin
Jörgen Andersson15-Jun-13 8:03
professionalJörgen Andersson15-Jun-13 8:03 
GeneralRe: Beating the compiler Pin
PIEBALDconsult14-Jun-13 16:42
professionalPIEBALDconsult14-Jun-13 16:42 
GeneralRe: Beating the compiler Pin
BillWoodruff14-Jun-13 20:39
memberBillWoodruff14-Jun-13 20:39 
GeneralRe: Beating the compiler Pin
Klaus-Werner Konrad15-Jun-13 12:07
memberKlaus-Werner Konrad15-Jun-13 12:07 
GeneralRe: Beating the compiler Pin
BillWoodruff15-Jun-13 15:57
memberBillWoodruff15-Jun-13 15:57 
GeneralRe: Beating the compiler Pin
A. A. J. Rodriguez17-Jun-13 3:33
memberA. A. J. Rodriguez17-Jun-13 3:33 
GeneralRe: Beating the compiler Pin
ahmed zahmed16-Jun-13 6:18
memberahmed zahmed16-Jun-13 6:18 
GeneralRe: Beating the compiler Pin
BillWoodruff16-Jun-13 15:21
memberBillWoodruff16-Jun-13 15:21 
GeneralRe: Beating the compiler Pin
Jeremy Hutchinson17-Jun-13 2:19
memberJeremy Hutchinson17-Jun-13 2:19 
GeneralRe: Beating the compiler Pin
Ron Beyer17-Jun-13 5:04
professionalRon Beyer17-Jun-13 5:04 
GeneralRe: Beating the compiler Pin
Jeremy Hutchinson17-Jun-13 5:13
memberJeremy Hutchinson17-Jun-13 5:13 
GeneralRe: Beating the compiler Pin
irneb17-Jun-13 23:12
memberirneb17-Jun-13 23:12 
GeneralRe: Beating the compiler Pin
jschell14-Jun-13 12:05
memberjschell14-Jun-13 12:05 
GeneralRe: Beating the compiler Pin
harold aptroot14-Jun-13 12:22
memberharold aptroot14-Jun-13 12:22 
GeneralRe: Beating the compiler Pin
Cornelius Henning14-Jun-13 14:08
memberCornelius Henning14-Jun-13 14:08 

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.


Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 22 Sep 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid