Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: Speed up code Pin
GrooverFromHolland8-Apr-16 1:52
GrooverFromHolland8-Apr-16 1:52 
GeneralRe: Speed up code Pin
Sascha Lefèvre8-Apr-16 2:41
professionalSascha Lefèvre8-Apr-16 2:41 
GeneralRe: Speed up code Pin
Eddy Vluggen8-Apr-16 2:54
professionalEddy Vluggen8-Apr-16 2:54 
AnswerRe: Speed up code Pin
Gerry Schmitz8-Apr-16 7:24
mveGerry Schmitz8-Apr-16 7:24 
GeneralRe: Speed up code Pin
GrooverFromHolland18-Apr-16 23:59
GrooverFromHolland18-Apr-16 23:59 
GeneralRe: Speed up code Pin
Gerry Schmitz19-Apr-16 4:58
mveGerry Schmitz19-Apr-16 4:58 
AnswerRe: Speed up code Pin
Patrice T9-Apr-16 0:01
mvePatrice T9-Apr-16 0:01 
GeneralRe: Speed up code Pin
GrooverFromHolland9-Apr-16 1:56
GrooverFromHolland9-Apr-16 1:56 
You are absolutely right, I did mention that I write crappy code. Smile | :)

changed it to:
int colNum = 0;
     for (int i = 0; i < length; i += 8)
        {                    
         colNum = i / 8 + 1;

and zero divided by 8 gives zero, so no need for checking that. D'Oh! | :doh:

Thanks,

Groover
0200 A9 23
0202 8D 01 80
0205 00

GeneralRe: Speed up code Pin
Patrice T9-Apr-16 5:09
mvePatrice T9-Apr-16 5:09 
Question.NET Remoting connection timing out after many invocations Pin
RichardGrimmer7-Apr-16 20:30
RichardGrimmer7-Apr-16 20:30 
AnswerRe: .NET Remoting connection timing out after many invocations Pin
Richard Andrew x648-Apr-16 3:42
professionalRichard Andrew x648-Apr-16 3:42 
AnswerRe: .NET Remoting connection timing out after many invocations Pin
Dikshitar V.9-Apr-16 10:23
Dikshitar V.9-Apr-16 10:23 
QuestionLocal Service to monitor a folder on desktop Pin
Blubbo7-Apr-16 9:40
Blubbo7-Apr-16 9:40 
AnswerRe: Local Service to monitor a folder on desktop Pin
Richard Deeming7-Apr-16 10:25
mveRichard Deeming7-Apr-16 10:25 
GeneralRe: Local Service to monitor a folder on desktop Pin
Blubbo8-Apr-16 1:26
Blubbo8-Apr-16 1:26 
GeneralRe: Local Service to monitor a folder on desktop Pin
Richard Deeming8-Apr-16 1:46
mveRichard Deeming8-Apr-16 1:46 
GeneralRe: Local Service to monitor a folder on desktop Pin
Blubbo8-Apr-16 2:50
Blubbo8-Apr-16 2:50 
GeneralRe: Local Service to monitor a folder on desktop Pin
Eddy Vluggen8-Apr-16 2:57
professionalEddy Vluggen8-Apr-16 2:57 
GeneralRe: Local Service to monitor a folder on desktop Pin
Richard Deeming8-Apr-16 3:00
mveRichard Deeming8-Apr-16 3:00 
AnswerRe: Local Service to monitor a folder on desktop Pin
Rahul Hanumant Chavan8-Apr-16 21:38
professionalRahul Hanumant Chavan8-Apr-16 21:38 
Generalwhat is c# Pin
Member 124355267-Apr-16 9:03
Member 124355267-Apr-16 9:03 
AnswerRe: what is c# Pin
Sascha Lefèvre7-Apr-16 9:15
professionalSascha Lefèvre7-Apr-16 9:15 
GeneralRe: what is c# Pin
Ratul Thakur8-Apr-16 7:09
Ratul Thakur8-Apr-16 7:09 
GeneralRe: what is c# Pin
Sascha Lefèvre8-Apr-16 21:32
professionalSascha Lefèvre8-Apr-16 21:32 
GeneralRe: what is c# Pin
Pete O'Hanlon7-Apr-16 11:45
mvePete O'Hanlon7-Apr-16 11:45 

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.