Click here to Skip to main content
15,902,891 members
Home / Discussions / C#
   

C#

 
AnswerRe: Webcam QR Barcode Decoder Problem Pin
OriginalGriff22-Jun-09 6:12
mveOriginalGriff22-Jun-09 6:12 
GeneralRe: Webcam QR Barcode Decoder Problem Pin
btss016-Aug-10 0:39
btss016-Aug-10 0:39 
GeneralRe: Webcam QR Barcode Decoder Problem Pin
OriginalGriff6-Aug-10 0:47
mveOriginalGriff6-Aug-10 0:47 
GeneralRe: Webcam QR Barcode Decoder Problem Pin
btss0110-Aug-10 0:45
btss0110-Aug-10 0:45 
Questionshut down client from server Pin
KIDYA21-Jun-09 19:44
KIDYA21-Jun-09 19:44 
AnswerRe: shut down client from server Pin
Christian Graus21-Jun-09 21:12
protectorChristian Graus21-Jun-09 21:12 
GeneralRe: shut down client from server Pin
KIDYA21-Jun-09 21:48
KIDYA21-Jun-09 21:48 
AnswerRe: shut down client from server Pin
Christian Graus21-Jun-09 21:13
protectorChristian Graus21-Jun-09 21:13 
GeneralRe: shut down client from server Pin
EliottA22-Jun-09 2:46
EliottA22-Jun-09 2:46 
AnswerRe: shut down client from server Pin
EliottA22-Jun-09 2:35
EliottA22-Jun-09 2:35 
QuestionLoading Dlls programatically in C# Pin
Tina P21-Jun-09 19:05
Tina P21-Jun-09 19:05 
AnswerRe: Loading Dlls programatically in C# Pin
himanshu256121-Jun-09 21:22
himanshu256121-Jun-09 21:22 
AnswerRe: Loading Dlls programatically in C# Pin
Shukla Rahul21-Jun-09 22:17
Shukla Rahul21-Jun-09 22:17 
QuestionGetting array of Numbers. Pin
Sangram_KP21-Jun-09 17:35
Sangram_KP21-Jun-09 17:35 
AnswerRe: Getting array of Numbers. Pin
Christian Graus21-Jun-09 19:32
protectorChristian Graus21-Jun-09 19:32 
QuestionRe: Getting array of Numbers. Pin
Sangram_KP21-Jun-09 20:03
Sangram_KP21-Jun-09 20:03 
AnswerRe: Getting array of Numbers. Pin
Christian Graus21-Jun-09 21:15
protectorChristian Graus21-Jun-09 21:15 
GeneralRe: Getting array of Numbers. Pin
himanshu256121-Jun-09 21:30
himanshu256121-Jun-09 21:30 
GeneralRe: Getting array of Numbers. Pin
CPallini21-Jun-09 20:48
mveCPallini21-Jun-09 20:48 
AnswerRe: Getting array of Numbers. Pin
himanshu256121-Jun-09 20:44
himanshu256121-Jun-09 20:44 
Hi,
This might help you.
List<int> al = new List<int>();
       al.Add(1);
       al.Add(2);
       al.Add(3);
       al.Add(5);
       al.Add(6);
       al.Add(11);
       al.Add(12);
       al.Add(13);
       al.Add(21);
       al.Add(22);
       int x = 0;
    List<int>[] ll=new List<int>[al.Count];
    ll[x] = new List<int>();
       for(int i=0;i<al.Count;i++)
       {
           if ((i + 1) == al.Count)
           {
               if (al[i]  == al[i- 1]+1)
               {
                   ll[x].Add(al[i]);
               }

           }
           else
           {
               if (al[i] + 1 == al[i + 1])
               {
                   ll[x].Add(al[i]);
               }
               else
               {
                   ll[x].Add(al[i]);
                   x = x + 1;
                   ll[x] = new List<int>();
               }
           }
       }
       Array aa = ll.ToArray(); ;


himanshu

AnswerRe: Getting array of Numbers. Pin
PIEBALDconsult22-Jun-09 7:06
mvePIEBALDconsult22-Jun-09 7:06 
QuestionlistView1.GetItemAt always returns null Pin
Mohammad Dayyan21-Jun-09 17:33
Mohammad Dayyan21-Jun-09 17:33 
AnswerRe: listView1.GetItemAt always returns null Pin
N a v a n e e t h21-Jun-09 17:45
N a v a n e e t h21-Jun-09 17:45 
GeneralRe: listView1.GetItemAt always returns null Pin
Mohammad Dayyan21-Jun-09 18:49
Mohammad Dayyan21-Jun-09 18:49 
AnswerRe: listView1.GetItemAt always returns null Pin
dan!sh 21-Jun-09 17:45
professional dan!sh 21-Jun-09 17: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.