<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Find data that are only in a list (two list (of T) in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7993061#M25973</link>
    <description>&lt;P&gt;Here's a VB conversion of the C# code I posted:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;    Sub Main()
        Dim BD As New Dictionary(Of String, Tuple(Of String, String))
        BD.Add("hola", New Tuple(Of String, String)("1", "hola hola"))
        BD.Add("carro", New Tuple(Of String, String)("2", "carro carro"))
        BD.Add("nuevo", New Tuple(Of String, String)("5", "nuevo nuevo"))
        BD.Add("viejo", New Tuple(Of String, String)("7", "viejo viejo"))
        BD.Add("alto", New Tuple(Of String, String)("3", "alto alto"))
        BD.Add("bajo", New Tuple(Of String, String)("11", "bajo bajo"))

        Dim Acc As New Dictionary(Of String, Integer)
        Acc.Add("hola", 1)
        Acc.Add("carro", 5)
        Acc.Add("nuevo", 1)
        Acc.Add("viejo", 70)
        Acc.Add("alto", 22)
        Acc.Add("bajo", 99)
        Acc.Add("rico", 2)
        Acc.Add("pobre", 14)

        Dim rptCargador = BD _
            .Where(Function(x) Acc.ContainsKey(x.Key)) _
            .OrderBy(Function(x) x.Value.Item2) _
            .Select(Function(x) New With {Key .Descripcion = x.Value.Item2, .Codigo = x.Value.Item1, .Cantidad = Acc(x.Key)})

        For Each item In rptCargador
            Console.WriteLine("{0} {1} {2}", item.Descripcion, item.Codigo, item.Cantidad)
        Next

        Console.WriteLine()
        Console.WriteLine("Datos No Encontrados")

        Dim rptCargador1 = Acc.Where(Function(x) Not BD.ContainsKey(x.Key))
        For Each item In rptCargador1
            Console.WriteLine("{0} {1}", item.Key, item.Value)
        Next
    End Sub&lt;/PRE&gt;
&lt;P&gt;If you prefer the SQL syntax:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;    Sub Main()
        Dim BD As New Dictionary(Of String, Tuple(Of String, String))
        BD.Add("hola", New Tuple(Of String, String)("1", "hola hola"))
        BD.Add("carro", New Tuple(Of String, String)("2", "carro carro"))
        BD.Add("nuevo", New Tuple(Of String, String)("5", "nuevo nuevo"))
        BD.Add("viejo", New Tuple(Of String, String)("7", "viejo viejo"))
        BD.Add("alto", New Tuple(Of String, String)("3", "alto alto"))
        BD.Add("bajo", New Tuple(Of String, String)("11", "bajo bajo"))

        Dim Acc As New Dictionary(Of String, Integer)
        Acc.Add("hola", 1)
        Acc.Add("carro", 5)
        Acc.Add("nuevo", 1)
        Acc.Add("viejo", 70)
        Acc.Add("alto", 22)
        Acc.Add("bajo", 99)
        Acc.Add("rico", 2)
        Acc.Add("pobre", 14)

        Dim rptCargador =
            From x In BD
            Where Acc.ContainsKey(x.Key)
            Order By x.Value.Item2
            Select Descripcion = x.Value.Item2, Codigo = x.Value.Item1, Cantidad = Acc(x.Key)

        For Each item In rptCargador
            Console.WriteLine("{0} {1} {2}", item.Descripcion, item.Codigo, item.Cantidad)
        Next

        Console.WriteLine()
        Console.WriteLine("Datos No Encontrados")

        Dim rptCargador1 =
            From x In Acc
            Where Not BD.ContainsKey(x.Key)
            Select x

        For Each item In rptCargador1
            Console.WriteLine("{0} {1}", item.Key, item.Value)
        Next
    End Sub&lt;/PRE&gt;</description>
    <pubDate>Thu, 10 May 2018 15:17:09 GMT</pubDate>
    <dc:creator>_gile</dc:creator>
    <dc:date>2018-05-10T15:17:09Z</dc:date>
    <item>
      <title>Find data that are only in a list (two list (of T)</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7990512#M25968</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;'Hello, I need your help for the following&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'I have 2 lists.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Public &lt;STRONG&gt;ListBD&lt;/STRONG&gt; As New List(Of Tuple(Of String, String, String))&lt;BR /&gt;Public &lt;STRONG&gt;ListAcc&lt;/STRONG&gt; As New List(Of Tuple(Of String, Double))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;I have linked them by the first item (description). Now I get the description field of ListBD, code of ListBD and Quantity of ListAcc. This works perfect&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Dim RptCargador = From Datos In ListBD, Datos1 In ListAcc&lt;BR /&gt;Where Datos.Item1 = Datos1.Item1&lt;BR /&gt;Order By Datos.Item3&lt;BR /&gt;Select Descripcion = Datos.Item3, Codigo = Datos.Item2, Cantidad = Datos1.Item2&lt;BR /&gt;Libro.Sheets(1).cells(1, 1) = "Código"&lt;BR /&gt;Libro.Sheets(1).cells(1, 2) = "Cantidad"&lt;BR /&gt;Libro.Sheets(1).cells(1, 3) = "Descripción de Artículo"&lt;BR /&gt;For Each valor In RptCargador&lt;BR /&gt;Libro.Sheets(1).cells(i, 1) = valor.Codigo&lt;BR /&gt;Libro.Sheets(1).cells(i, 2) = valor.Cantidad&lt;BR /&gt;Libro.Sheets(1).cells(i, 3) = valor.Descripcion&lt;BR /&gt;i = i + 1&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'What is what I need.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;'I need the data that does not match the item1 of ListAcc and the item1 of ListBD&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;'In the attached file there is an example.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;I have solved it by doing one cycle inside another. But this takes a long time, it is very slow. This is how I did it. I hope you can give me a better shape.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;#Region "Datos No Encontrados"&lt;BR /&gt;Dim RptCargador1 = From Datos In ListAcc&lt;BR /&gt;Select Datos.Item1, Datos.Item2&lt;/P&gt;&lt;P&gt;For Each valor In RptCargador1&lt;BR /&gt;Dim diferente As Boolean : Dim igual As Boolean&lt;/P&gt;&lt;P&gt;Dim RptCargador2 = From Datos1 In ListBD&lt;BR /&gt;Select Datos1.Item1&lt;BR /&gt;diferente = False : igual = False&lt;BR /&gt;For Each valor2 In RptCargador2&lt;BR /&gt;If valor.Item1 &amp;lt;&amp;gt; valor2 Then&lt;BR /&gt;diferente = True&lt;BR /&gt;Else&lt;BR /&gt;igual = True&lt;BR /&gt;End If&lt;BR /&gt;Next&lt;BR /&gt;If diferente = True And igual = False Then&lt;BR /&gt;Libro.Sheets(1).cells(i, 2) = valor.Item2&lt;BR /&gt;Libro.Sheets(1).cells(i, 3) = valor.Item1&lt;BR /&gt;i = i + 1&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;Next&lt;BR /&gt;#End Region&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;I hope you can give me a better shape. Maybe similar to the one I developed for the first part&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 15:50:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7990512#M25968</guid>
      <dc:creator>cyranobb30</dc:creator>
      <dc:date>2018-05-09T15:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Find data that are only in a list (two list (of T)</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7990657#M25969</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using keyed data structures as Dictionary&amp;lt;string, Tupe&amp;lt;string, string&amp;gt;&amp;gt; and Dictionary&amp;lt;string, double&amp;gt; should be more efficient than using lists of tuples&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 16:40:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7990657#M25969</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2018-05-09T16:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Find data that are only in a list (two list (of T)</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7990679#M25970</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;Thank you very much. I use this one because it's the one I know, it's good for me, but in this case I do not know how to solve it. Later on I will invert what you mention&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 May 2018 16:49:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7990679#M25970</guid>
      <dc:creator>cyranobb30</dc:creator>
      <dc:date>2018-05-09T16:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Find data that are only in a list (two list (of T)</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7990776#M25971</link>
      <description>&lt;P&gt;Here's a little example (C# Console Application).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;        static void Main()
        {
            var dictBd = new Dictionary&amp;lt;string, Tuple&amp;lt;string, string&amp;gt;&amp;gt;
            {
                ["hola"] = new Tuple&amp;lt;string, string&amp;gt;("1", "hola hola"),
                ["carro"] = new Tuple&amp;lt;string, string&amp;gt;("2", "carro carro"),
                ["nuevo"] = new Tuple&amp;lt;string, string&amp;gt;("5", "nuevo nuevo"),
                ["viejo"] = new Tuple&amp;lt;string, string&amp;gt;("7", "viejo viejo"),
                ["alto"] = new Tuple&amp;lt;string, string&amp;gt;("3", "alto alto"),
                ["bajo"] = new Tuple&amp;lt;string, string&amp;gt;("11", "bajo bajo")
            };

            var dictAcc = new Dictionary&amp;lt;string, double&amp;gt;
            {
                ["hola"] = 7,
                ["carro"] = 5,
                ["nuevo"] = 1,
                ["viejo"] = 70,
                ["alto"] = 22,
                ["bajo"] = 99,
                ["rico"] = 2,
                ["pobre"] = 14
            };

            var rptCargador = dictBd
                .Where(x =&amp;gt; dictAcc.ContainsKey(x.Key))
                .OrderBy(x =&amp;gt; x.Value.Item2)
                .Select(x =&amp;gt; new { Descripcion = x.Value.Item2, Codigo = x.Value.Item1, Cantidad = dictAcc[x.Key] });
            foreach (var item in rptCargador)
            {
                Console.WriteLine($"{item.Descripcion} {item.Codigo} {item.Cantidad}");
            }

            Console.WriteLine("Datos No Encontrados");
            var rptCargador1 = dictAcc.Where(x =&amp;gt; !dictBd.ContainsKey(x.Key));
            foreach (var item in rptCargador1)
            {
                Console.WriteLine($"{item.Key} {item.Value}");
            }
        }&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 17:22:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7990776#M25971</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2018-05-09T17:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Find data that are only in a list (two list (of T)</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7992595#M25972</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;Hello
Thanks for your help.
I have never used C # or C ++. I'm an agricultural engineer and I only know a little bit about vb.net.
I tried to convert c # to vb.net, but I could not. This is what I achieved. Talvéz you can help me with what is missing. Thank you.
Also if you know where I can see examples like this to guide me.
Greetings (also attached image)&lt;BR /&gt;&lt;BR /&gt;#Region "Prueba en C#"&lt;BR /&gt; 'Agregando Datos a un Dictionary&lt;BR /&gt; ' Add four entries.&lt;BR /&gt;&lt;BR /&gt; Dim BD As New Dictionary(Of String, Tuple(Of String, String))&lt;BR /&gt; BD.Add("hola", New Tuple(Of String, String)("1", "hola hola"))&lt;BR /&gt; BD.Add("carro", New Tuple(Of String, String)("2", "carro carro"))&lt;BR /&gt; BD.Add("nuevo", New Tuple(Of String, String)("5", "nuevo nuevo"))&lt;BR /&gt; BD.Add("viejo", New Tuple(Of String, String)("7", "viejo viejo"))&lt;BR /&gt; BD.Add("alto", New Tuple(Of String, String)("3", "alto alto"))&lt;BR /&gt; BD.Add("bajo", New Tuple(Of String, String)("11", "bajo bajo"))&lt;BR /&gt;&lt;BR /&gt; Dim Acc As New Dictionary(Of String, Integer)&lt;BR /&gt; Acc.Add("hola", 1)&lt;BR /&gt; Acc.Add("carro", 5)&lt;BR /&gt; Acc.Add("nuevo", 1)&lt;BR /&gt; Acc.Add("viejo", 70)&lt;BR /&gt; Acc.Add("alto", 22)&lt;BR /&gt; Acc.Add("bajo", 99)&lt;BR /&gt; Acc.Add("alto", 2)&lt;BR /&gt; Acc.Add("bajo", 14)&lt;BR /&gt;&lt;BR /&gt; Dim rptCargador8 = BD.Where(Function(x) Acc.ContainsKey(x.Key)).OrderBy(x &amp;gt;= x.Value.Item2).Select(x &amp;gt;= New Descripcion = x.Value.Item2, Codigo = x.Value.Item1, Cantidad = dictAcc(x.Key)&lt;BR /&gt;&lt;BR /&gt; 'Datos Encontrados&lt;BR /&gt; For Each item In rptCargador8&lt;BR /&gt; MsgBox(item.Descripcion &amp;amp; item.Codigo &amp;amp; item.Cantidad)&lt;BR /&gt; Next&lt;BR /&gt; 'Datos NO Encontrados&lt;BR /&gt;&lt;BR /&gt; Dim rptCargador10 = Acc.Where(Function(x) Not BD.ContainsKey(x.Key))&lt;BR /&gt; For Each item In rptCargador10&lt;BR /&gt; ' Console.WriteLine($"{item.Key} {item.Value}")&lt;BR /&gt; MsgBox(item.Key &amp;amp; item.Value)&lt;BR /&gt; Next&lt;BR /&gt;#End Region&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 May 2018 12:52:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7992595#M25972</guid>
      <dc:creator>cyranobb30</dc:creator>
      <dc:date>2018-05-10T12:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Find data that are only in a list (two list (of T)</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7993061#M25973</link>
      <description>&lt;P&gt;Here's a VB conversion of the C# code I posted:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;    Sub Main()
        Dim BD As New Dictionary(Of String, Tuple(Of String, String))
        BD.Add("hola", New Tuple(Of String, String)("1", "hola hola"))
        BD.Add("carro", New Tuple(Of String, String)("2", "carro carro"))
        BD.Add("nuevo", New Tuple(Of String, String)("5", "nuevo nuevo"))
        BD.Add("viejo", New Tuple(Of String, String)("7", "viejo viejo"))
        BD.Add("alto", New Tuple(Of String, String)("3", "alto alto"))
        BD.Add("bajo", New Tuple(Of String, String)("11", "bajo bajo"))

        Dim Acc As New Dictionary(Of String, Integer)
        Acc.Add("hola", 1)
        Acc.Add("carro", 5)
        Acc.Add("nuevo", 1)
        Acc.Add("viejo", 70)
        Acc.Add("alto", 22)
        Acc.Add("bajo", 99)
        Acc.Add("rico", 2)
        Acc.Add("pobre", 14)

        Dim rptCargador = BD _
            .Where(Function(x) Acc.ContainsKey(x.Key)) _
            .OrderBy(Function(x) x.Value.Item2) _
            .Select(Function(x) New With {Key .Descripcion = x.Value.Item2, .Codigo = x.Value.Item1, .Cantidad = Acc(x.Key)})

        For Each item In rptCargador
            Console.WriteLine("{0} {1} {2}", item.Descripcion, item.Codigo, item.Cantidad)
        Next

        Console.WriteLine()
        Console.WriteLine("Datos No Encontrados")

        Dim rptCargador1 = Acc.Where(Function(x) Not BD.ContainsKey(x.Key))
        For Each item In rptCargador1
            Console.WriteLine("{0} {1}", item.Key, item.Value)
        Next
    End Sub&lt;/PRE&gt;
&lt;P&gt;If you prefer the SQL syntax:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;    Sub Main()
        Dim BD As New Dictionary(Of String, Tuple(Of String, String))
        BD.Add("hola", New Tuple(Of String, String)("1", "hola hola"))
        BD.Add("carro", New Tuple(Of String, String)("2", "carro carro"))
        BD.Add("nuevo", New Tuple(Of String, String)("5", "nuevo nuevo"))
        BD.Add("viejo", New Tuple(Of String, String)("7", "viejo viejo"))
        BD.Add("alto", New Tuple(Of String, String)("3", "alto alto"))
        BD.Add("bajo", New Tuple(Of String, String)("11", "bajo bajo"))

        Dim Acc As New Dictionary(Of String, Integer)
        Acc.Add("hola", 1)
        Acc.Add("carro", 5)
        Acc.Add("nuevo", 1)
        Acc.Add("viejo", 70)
        Acc.Add("alto", 22)
        Acc.Add("bajo", 99)
        Acc.Add("rico", 2)
        Acc.Add("pobre", 14)

        Dim rptCargador =
            From x In BD
            Where Acc.ContainsKey(x.Key)
            Order By x.Value.Item2
            Select Descripcion = x.Value.Item2, Codigo = x.Value.Item1, Cantidad = Acc(x.Key)

        For Each item In rptCargador
            Console.WriteLine("{0} {1} {2}", item.Descripcion, item.Codigo, item.Cantidad)
        Next

        Console.WriteLine()
        Console.WriteLine("Datos No Encontrados")

        Dim rptCargador1 =
            From x In Acc
            Where Not BD.ContainsKey(x.Key)
            Select x

        For Each item In rptCargador1
            Console.WriteLine("{0} {1}", item.Key, item.Value)
        Next
    End Sub&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 May 2018 15:17:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7993061#M25973</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2018-05-10T15:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Find data that are only in a list (two list (of T)</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7993150#M25974</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;friend
Thank you very much for your help. I do not understand how there are people who help others in this way.
With your help I have solved it and also learned a bit of Dictionary.
Many blessings
This is how I was left&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Dim BD As New Dictionary(Of String, Tuple(Of String, String))&lt;BR /&gt;BD.Add("hola", New Tuple(Of String, String)("1", "hola hola"))&lt;BR /&gt;BD.Add("carro", New Tuple(Of String, String)("2", "carro carro"))&lt;BR /&gt;BD.Add("nuevo", New Tuple(Of String, String)("5", "nuevo nuevo"))&lt;BR /&gt;BD.Add("viejo", New Tuple(Of String, String)("7", "viejo viejo"))&lt;BR /&gt;BD.Add("alto", New Tuple(Of String, String)("3", "alto alto"))&lt;BR /&gt;BD.Add("bajo", New Tuple(Of String, String)("11", "bajo bajo"))&lt;/P&gt;&lt;P&gt;Dim Acc As New Dictionary(Of String, Integer)&lt;BR /&gt;Acc.Add("hola", 1)&lt;BR /&gt;Acc.Add("carro", 5)&lt;BR /&gt;Acc.Add("nuevo", 1)&lt;BR /&gt;Acc.Add("viejo", 70)&lt;BR /&gt;Acc.Add("alto", 22)&lt;BR /&gt;Acc.Add("bajo", 99)&lt;BR /&gt;Acc.Add("rico", 2)&lt;BR /&gt;Acc.Add("pobre", 14)&lt;/P&gt;&lt;P&gt;'Datos Encontrados&lt;BR /&gt;Dim rptCargador8 = Acc.Where(Function(x) BD.ContainsKey(x.Key))&lt;BR /&gt;For Each item In rptCargador8&lt;BR /&gt;MsgBox("Código = " &amp;amp; BD.Item(item.Key).Item1 &amp;amp; " Cantidad = " &amp;amp; item.Value &amp;amp; " Descripción = " &amp;amp; BD.Item(item.Key).Item2)&lt;BR /&gt;Next&lt;BR /&gt;'Datos NO Encontrados&lt;BR /&gt;Dim rptCargador10 = Acc.Where(Function(x) Not BD.ContainsKey(x.Key))&lt;BR /&gt;For Each item In rptCargador10&lt;BR /&gt;MsgBox("Cantidad = " &amp;amp; item.Value &amp;amp; " Descripción = " &amp;amp; item.Key)&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 15:43:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-data-that-are-only-in-a-list-two-list-of-t/m-p/7993150#M25974</guid>
      <dc:creator>cyranobb30</dc:creator>
      <dc:date>2018-05-10T15:43:17Z</dc:date>
    </item>
  </channel>
</rss>

