Click here to Skip to main content
15,885,365 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionTimer reset Pin
Bob Beaubien26-Feb-10 11:57
Bob Beaubien26-Feb-10 11:57 
Answerclue Pin
Luc Pattyn26-Feb-10 12:23
sitebuilderLuc Pattyn26-Feb-10 12:23 
GeneralRe: clue Pin
Bob Beaubien26-Feb-10 12:34
Bob Beaubien26-Feb-10 12:34 
GeneralRe: clue Pin
Bob Beaubien26-Feb-10 12:40
Bob Beaubien26-Feb-10 12:40 
GeneralRe: clue Pin
Luc Pattyn26-Feb-10 13:13
sitebuilderLuc Pattyn26-Feb-10 13:13 
QuestionCode problem or exceeded array limits? Pin
Hurricane300026-Feb-10 5:15
Hurricane300026-Feb-10 5:15 
AnswerRe: Code problem or exceeded array limits? Pin
Luc Pattyn26-Feb-10 7:09
sitebuilderLuc Pattyn26-Feb-10 7:09 
AnswerRe: Code problem or exceeded array limits? Pin
Gideon Engelberth26-Feb-10 7:56
Gideon Engelberth26-Feb-10 7:56 
As an alternative to the sort and merge approach, you may also try using a Dictionary/HashSet. If you have .NET 3.5 available, you could use the Except extension method (which I understand uses a HashSet internally) like so:

VB
Dim temp = ArrayB.Select(AddressOf Double.Parse) _
                 .Except(ArrayA.Select(AddressOf Double.Parse)) _
                 .ToArray()


If you don't have the LINQ methods, you could do this yourself:

VB
Dim parsedToRemove As New Dictionary(Of Double, Double)
Dim noDuplicates As New List(Of Double)

For Each parsedA In Array.ConvertAll(ArrayA, AddressOf Double.Parse)
    If Not parsedToRemove.ContainsKey(parsedA) Then
        parsedToRemove.Add(parsedA, parsedA)
    End If
Next
For Each parsedB In Array.ConvertAll(ArrayB, AddressOf Double.Parse)
    If Not parsedToRemove.ContainsKey(parsedB) Then
        noDuplicates.Add(parsedB)
    End If
Next
'noDuplicates now has the values in B not in A

GeneralRe: Code problem or exceeded array limits? Pin
Hurricane300026-Feb-10 9:39
Hurricane300026-Feb-10 9:39 
QuestionExit on Keyboard button Pin
Bob Beaubien25-Feb-10 15:54
Bob Beaubien25-Feb-10 15:54 
AnswerRe: Exit on Keyboard button Pin
Dr.Walt Fair, PE25-Feb-10 17:00
professionalDr.Walt Fair, PE25-Feb-10 17:00 
GeneralRe: Exit on Keyboard button Pin
Bob Beaubien25-Feb-10 17:17
Bob Beaubien25-Feb-10 17:17 
QuestionShortcut Keys [solved] Pin
Mehdi Ghiasi24-Feb-10 23:20
Mehdi Ghiasi24-Feb-10 23:20 
AnswerRe: Shortcut Keys Pin
Nuri Ismail24-Feb-10 23:31
Nuri Ismail24-Feb-10 23:31 
GeneralRe: Shortcut Keys Pin
Mehdi Ghiasi24-Feb-10 23:44
Mehdi Ghiasi24-Feb-10 23:44 
GeneralRe: Shortcut Keys Pin
Nuri Ismail24-Feb-10 23:46
Nuri Ismail24-Feb-10 23:46 
QuestionHow can I programatically select video source using WebCam_Capture.dll PinPopular
M Wyatt24-Feb-10 13:53
M Wyatt24-Feb-10 13:53 
AnswerRe: How can I programatically select video source using WebCam_Capture.dll Pin
cybertronick4-Feb-11 1:20
cybertronick4-Feb-11 1:20 
Question.Net equivalent to ADODB? [Solved] Pin
Gregory Gadow24-Feb-10 6:08
Gregory Gadow24-Feb-10 6:08 
AnswerRe: .Net equivalent to ADODB? Pin
Pete O'Hanlon24-Feb-10 6:44
mvePete O'Hanlon24-Feb-10 6:44 
GeneralRe: .Net equivalent to ADODB? Pin
Gregory Gadow24-Feb-10 10:18
Gregory Gadow24-Feb-10 10:18 
GeneralRe: .Net equivalent to ADODB? Pin
Pete O'Hanlon24-Feb-10 10:43
mvePete O'Hanlon24-Feb-10 10:43 
GeneralNote to self: read inner exception messages Pin
Gregory Gadow24-Feb-10 12:09
Gregory Gadow24-Feb-10 12:09 
GeneralRe: Note to self: read inner exception messages Pin
Pete O'Hanlon24-Feb-10 12:32
mvePete O'Hanlon24-Feb-10 12:32 
QuestionWhat is .NET FRAMEWORK? Pin
danso sackey24-Feb-10 1:30
danso sackey24-Feb-10 1:30 

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.