Click here to Skip to main content
15,909,737 members
Home / Discussions / C#
   

C#

 
AnswerRe: Access a folder in the Listening IP address Pin
DanB198323-Dec-08 0:26
DanB198323-Dec-08 0:26 
AnswerRe: Access a folder in the Listening IP address Pin
Mark Salsbery23-Dec-08 6:36
Mark Salsbery23-Dec-08 6:36 
QuestionFind unique strings for a string array Pin
George_George22-Dec-08 18:12
George_George22-Dec-08 18:12 
AnswerRe: Find unique strings for a string array Pin
Igor Velikorossov22-Dec-08 18:27
Igor Velikorossov22-Dec-08 18:27 
GeneralRe: Find unique strings for a string array Pin
George_George22-Dec-08 18:53
George_George22-Dec-08 18:53 
AnswerRe: Find unique strings for a string array Pin
Christian Graus22-Dec-08 18:37
protectorChristian Graus22-Dec-08 18:37 
GeneralRe: Find unique strings for a string array Pin
George_George22-Dec-08 18:59
George_George22-Dec-08 18:59 
GeneralRe: Find unique strings for a string array Pin
Christian Graus22-Dec-08 20:47
protectorChristian Graus22-Dec-08 20:47 
GeneralRe: Find unique strings for a string array Pin
George_George23-Dec-08 22:41
George_George23-Dec-08 22:41 
AnswerRe: Find unique strings for a string array Pin
dan!sh 22-Dec-08 18:37
professional dan!sh 22-Dec-08 18:37 
GeneralRe: Find unique strings for a string array Pin
George_George23-Dec-08 22:43
George_George23-Dec-08 22:43 
AnswerRe: Find unique strings for a string array Pin
Brij22-Dec-08 18:39
mentorBrij22-Dec-08 18:39 
GeneralRe: Find unique strings for a string array Pin
George_George22-Dec-08 18:50
George_George22-Dec-08 18:50 
GeneralRe: Find unique strings for a string array Pin
Igor Velikorossov22-Dec-08 18:55
Igor Velikorossov22-Dec-08 18:55 
GeneralRe: Find unique strings for a string array Pin
George_George22-Dec-08 19:48
George_George22-Dec-08 19:48 
GeneralRe: Find unique strings for a string array Pin
Igor Velikorossov22-Dec-08 20:03
Igor Velikorossov22-Dec-08 20:03 
GeneralRe: Find unique strings for a string array Pin
Brij22-Dec-08 19:13
mentorBrij22-Dec-08 19:13 
Make a custom function,In which create an a generic as taken below a list.
List<string> UnqueList=new List<string>();
for (int i = 0; i < strarr.Length; i++)
{
if(!UnqueList.Exists(strarr[0]))
{
UnqueList.Add(strarr[0]);
}
}

Now you'll the list conatining unique elements.You can conert it to array too as

UnqueList.ToArray();

Cheers!!
Brij

GeneralRe: Find unique strings for a string array Pin
George_George22-Dec-08 19:58
George_George22-Dec-08 19:58 
GeneralRe: Find unique strings for a string array Pin
Brij22-Dec-08 21:01
mentorBrij22-Dec-08 21:01 
GeneralRe: Find unique strings for a string array Pin
George_George23-Dec-08 22:45
George_George23-Dec-08 22:45 
AnswerRe: Find unique strings for a string array Pin
Giorgi Dalakishvili22-Dec-08 18:53
mentorGiorgi Dalakishvili22-Dec-08 18:53 
GeneralRe: Find unique strings for a string array Pin
Igor Velikorossov22-Dec-08 18:56
Igor Velikorossov22-Dec-08 18:56 
GeneralRe: Find unique strings for a string array Pin
George_George22-Dec-08 19:07
George_George22-Dec-08 19:07 
GeneralRe: Find unique strings for a string array Pin
George_George22-Dec-08 19:03
George_George22-Dec-08 19:03 
AnswerRe: Find unique strings for a string array Pin
Dragonfly_Lee22-Dec-08 19:06
Dragonfly_Lee22-Dec-08 19:06 

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.