Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
QuestionShow + Focus Problem Pin
Phoen2518-May-06 9:22
Phoen2518-May-06 9:22 
AnswerRe: Show + Focus Problem Pin
stancrm18-May-06 21:01
stancrm18-May-06 21:01 
Questionquestion about casting a string to button Pin
abstar18-May-06 8:14
abstar18-May-06 8:14 
AnswerRe: question about casting a string to button Pin
Office Lineman18-May-06 8:26
Office Lineman18-May-06 8:26 
AnswerRe: question about casting a string to button Pin
Stefan Troschuetz18-May-06 8:59
Stefan Troschuetz18-May-06 8:59 
Questionhow to count elements inside an array? Pin
donkaiser18-May-06 4:44
donkaiser18-May-06 4:44 
AnswerRe: how to count elements inside an array? Pin
Robert Rohde18-May-06 4:50
Robert Rohde18-May-06 4:50 
AnswerRe: how to count elements inside an array? Pin
NaNg1524118-May-06 4:53
NaNg1524118-May-06 4:53 
try to create your own function... eg.

public int NumUsed(Byte[] arr)
{
    int Ctr = 0;
    for (int i = 0; i < arr.GetLength(0); i++)
    {
        try
        {
            Byte tmp = arr[i];
            Ctr++;
        }
     }
}


although i'm not pretty sure that this will work... but you can try.
GeneralRe: how to count elements inside an array? Pin
J4amieC18-May-06 5:39
J4amieC18-May-06 5:39 
GeneralRe: how to count elements inside an array? Pin
Robert Rohde18-May-06 5:57
Robert Rohde18-May-06 5:57 
GeneralRe: how to count elements inside an array? Pin
NaNg1524118-May-06 7:24
NaNg1524118-May-06 7:24 
GeneralRe: how to count elements inside an array? Pin
Robert Rohde18-May-06 7:27
Robert Rohde18-May-06 7:27 
GeneralRe: how to count elements inside an array? Pin
pq4noeh19-May-06 1:53
pq4noeh19-May-06 1:53 
GeneralRe: how to count elements inside an array? Pin
Robert Rohde19-May-06 4:32
Robert Rohde19-May-06 4:32 
AnswerRe: how to count elements inside an array? Pin
Rei Miyasaka18-May-06 7:10
Rei Miyasaka18-May-06 7:10 
AnswerRe: how to count elements inside an array? Pin
Guffa18-May-06 9:48
Guffa18-May-06 9:48 
AnswerRe: how to count elements inside an array? Pin
donkaiser18-May-06 10:35
donkaiser18-May-06 10:35 
QuestionDo not start application from byte[] Pin
Dima Filipiuk18-May-06 4:40
Dima Filipiuk18-May-06 4:40 
AnswerRe: Do not start application from byte[] Pin
leppie18-May-06 5:24
leppie18-May-06 5:24 
GeneralRe: Do not start application from byte[] Pin
Dima Filipiuk18-May-06 7:43
Dima Filipiuk18-May-06 7:43 
GeneralRe: Do not start application from byte[] Pin
Rei Miyasaka18-May-06 10:00
Rei Miyasaka18-May-06 10:00 
GeneralRe: Do not start application from byte[] Pin
Dima Filipiuk18-May-06 11:01
Dima Filipiuk18-May-06 11:01 
GeneralRe: Do not start application from byte[] Pin
Rei Miyasaka18-May-06 11:31
Rei Miyasaka18-May-06 11:31 
GeneralRe: Do not start application from byte[] Pin
Dima Filipiuk18-May-06 20:28
Dima Filipiuk18-May-06 20:28 
GeneralRe: Do not start application from byte[] Pin
Rei Miyasaka18-May-06 20:32
Rei Miyasaka18-May-06 20:32 

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.