Advertisement

07.06.2008 at 04:43AM PDT, ID: 23541521
[x]
Attachment Details

How Can I compare all the values inside an Array and get the duplicated ones?

Asked by vnobre in Microsoft Visual C#.Net, .Net Editors & IDEs, Microsoft Development

Tags: asp.net C#, IE 7 and firefox 2.0

Howdy :D

I have an Array that is full of numeric ID's (some of the ID's are the same).

string strResultTotal = string.Empty;
       strResultTotal = Convert.ToString(Session["titulo"]) + Convert.ToString(Session["curso"]);
       //lbl_Total.Text = strResultTotal.ToString();
       string[] ArrayTotal = strResultTotal.Split(',');

How can I compare all those ID's that are inside ArrayTotal so that I can retrieve the duplicate ones ?Start Free Trial
[+][-]07.06.2008 at 05:26AM PDT, ID: 21940035

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 05:26AM PDT, ID: 21940038

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 03:08PM PDT, ID: 21941793

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 07:25PM PDT, ID: 21942468

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 07:47PM PDT, ID: 21942516

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 07:51PM PDT, ID: 21942530

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 08:47PM PDT, ID: 21942662

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 08:49PM PDT, ID: 21942668

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 09:31PM PDT, ID: 21942745

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 10:03PM PDT, ID: 21942823

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 10:21PM PDT, ID: 21942874

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, .Net Editors & IDEs, Microsoft Development
Tags: asp.net C#, IE 7 and firefox 2.0
Sign Up Now!
Solution Provided By: naspinski
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.07.2008 at 07:17AM PDT, ID: 21945208

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 07:29AM PDT, ID: 21945320

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628