{"id":3101,"date":"2020-03-10T16:00:00","date_gmt":"2020-03-10T15:00:00","guid":{"rendered":"http:\/\/www.capri-soft.de\/blog\/?p=3101"},"modified":"2020-03-10T15:16:56","modified_gmt":"2020-03-10T14:16:56","slug":"c-net-collections-im-net-framework","status":"publish","type":"post","link":"https:\/\/www.capri-soft.de\/blog\/?p=3101","title":{"rendered":"C# .NET : Collections im .NET Framework"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Intention<\/h2>\n\n\n\n<p>Eines der wichtigsten .NET Elemente zum Verwalten vom Datenbest\u00e4nden im Speicher sind Collections (Auflistungen). Im Vergleich zu normalen Array-Typen bieten diese die M\u00f6glichkeit zur Laufzeit Objekte hinzuzuf\u00fcgen, ohne vorher die Gr\u00f6\u00dfe\/die Anzahl der Objekte in der Collection zu kennen. Collections bieten Funktionen zum Hinzuf\u00fcgen, Entfernen und Suchen\/Finden von Objekten. Ist ein Objekt in einer Auflistung erstmal gefunden, kann dieses \u00fcber die Objektreferenz auch direkt in der Auflistung ge\u00e4ndert werden. <\/p>\n\n\n\n<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" version=\"1.1\" width=\"603px\" viewBox=\"-0.5 -0.5 603 861\" style=\"max-width:100%;max-height:861px;\"><defs><\/defs><g><path d=\"M 0.5 412.5 L 200.5 412.5 L 220.5 432.5 L 220.5 562.5 L 0.5 562.5 L 0.5 412.5 Z\" fill=\"#ffffff\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><path d=\"M 200.5 412.5 L 200.5 432.5 L 220.5 432.5 Z\" fill-opacity=\"0.05\" fill=\"#000000\" stroke=\"none\" pointer-events=\"all\"><\/path><path d=\"M 200.5 412.5 L 200.5 432.5 L 220.5 432.5\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 218px; height: 1px; padding-top: 488px; margin-left: 3px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: left; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \"><span><b><u>Typsicher<\/u><\/b><\/span><br><ul><li>Bessere Leistung<\/li><li>keine explizite Umwandlung notwendig um auf Objekteigenschaften zuzugreifen<\/li><li>Akzeptieren beim Erstellen einen Typparamter &lt;T&gt;<\/li><li>Unterst\u00fctzung f\u00fcr Windows-Store-Apps<\/li><\/ul><\/div><\/div><\/div><\/foreignObject><text x=\"3\" y=\"491\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\">Typsicher&#8230;<\/text><\/switch><\/g><rect x=\"155\" y=\"590\" width=\"120\" height=\"60\" fill=\"#d5e8d4\" stroke=\"#82b366\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 620px; margin-left: 156px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \"><span style=\"white-space: normal\">Generische Auflistungen<\/span><\/div><\/div><\/div><\/foreignObject><text x=\"215\" y=\"624\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Generische Auflistun&#8230;<\/text><\/switch><\/g><rect x=\"335\" y=\"590\" width=\"120\" height=\"60\" fill=\"#f8cecc\" stroke=\"#b85450\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 620px; margin-left: 336px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \"><span style=\"white-space: normal\">Nicht<\/span><br style=\"white-space: normal\"><span style=\"white-space: normal\">generische Auflistungen<\/span><\/div><\/div><\/div><\/foreignObject><text x=\"395\" y=\"624\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Nicht&#8230;<\/text><\/switch><\/g><path d=\"M 185 590 L 165.01 562.5\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-dasharray=\"3 3\" pointer-events=\"stroke\"><\/path><rect x=\"0.5\" y=\"360\" width=\"600\" height=\"40\" fill=\"#dae8fc\" stroke=\"#6c8ebf\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 598px; height: 1px; padding-top: 380px; margin-left: 2px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \"><span style=\"white-space: normal\"><b>Auflistungen<\/b><br>(Collections)<br><\/span><\/div><\/div><\/div><\/foreignObject><text x=\"301\" y=\"384\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Auflistungen&#8230;<\/text><\/switch><\/g><path d=\"M 245 590 L 293.59 406.16\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 294.93 401.08 L 296.52 408.74 L 293.59 406.16 L 289.76 406.95 Z\" fill=\"#000000\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><path d=\"M 365 590 L 331.64 407.26\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 330.7 402.1 L 335.4 408.36 L 331.64 407.26 L 328.51 409.61 Z\" fill=\"#000000\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><path d=\"M 382 420 L 582 420 L 602 440 L 602 555 L 382 555 L 382 420 Z\" fill=\"#ffffff\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><path d=\"M 582 420 L 582 440 L 602 440 Z\" fill-opacity=\"0.05\" fill=\"#000000\" stroke=\"none\" pointer-events=\"all\"><\/path><path d=\"M 582 420 L 582 440 L 602 440\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 218px; height: 1px; padding-top: 488px; margin-left: 384px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: left; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \"><span><b><u>Nicht typsicher<\/u><\/b><\/span><br><ul><li>Speichern Elemente als Objekt (Object)<\/li><li>erfordern explizite Umwandlung in den Objekttyp um auf Objekteigenschaften zuzugreifen<\/li><li><i><u>keine Unterst\u00fctzung<\/u><\/i> f\u00fcr Windows-Store-Apps<\/li><\/ul><\/div><\/div><\/div><\/foreignObject><text x=\"384\" y=\"491\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\">Nicht typsicher&#8230;<\/text><\/switch><\/g><path d=\"M 447.88 555 L 425 590\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-dasharray=\"3 3\" pointer-events=\"stroke\"><\/path><rect x=\"29.75\" y=\"760\" width=\"180\" height=\"30\" rx=\"4.5\" ry=\"4.5\" fill=\"#f5f5f5\" stroke=\"#666666\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 178px; height: 1px; padding-top: 775px; margin-left: 31px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \">System.Collections.Concurrent<\/div><\/div><\/div><\/foreignObject><text x=\"120\" y=\"779\" fill=\"#333333\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">System.Collections.Concurrent<\/text><\/switch><\/g><rect x=\"238.25\" y=\"680\" width=\"140\" height=\"30\" rx=\"4.5\" ry=\"4.5\" fill=\"#f5f5f5\" stroke=\"#666666\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 695px; margin-left: 239px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \">System.Collections<\/div><\/div><\/div><\/foreignObject><text x=\"308\" y=\"699\" fill=\"#333333\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">System.Collections<\/text><\/switch><\/g><rect x=\"29.75\" y=\"680\" width=\"117\" height=\"30\" rx=\"4.5\" ry=\"4.5\" fill=\"#f5f5f5\" stroke=\"#666666\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 115px; height: 1px; padding-top: 695px; margin-left: 31px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \">System.Array<\/div><\/div><\/div><\/foreignObject><text x=\"88\" y=\"699\" fill=\"#333333\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">System.Array<\/text><\/switch><\/g><rect x=\"401.25\" y=\"760\" width=\"170\" height=\"30\" rx=\"4.5\" ry=\"4.5\" fill=\"#f5f5f5\" stroke=\"#666666\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 168px; height: 1px; padding-top: 775px; margin-left: 402px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #333333; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \">System.Collections.Generic<\/div><\/div><\/div><\/foreignObject><text x=\"486\" y=\"779\" fill=\"#333333\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">System.Collections.Generic<\/text><\/switch><\/g><path d=\"M 164.75 760 L 267.47 712.67\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 272.23 710.47 L 267.34 716.58 L 267.47 712.67 L 264.41 710.22 Z\" fill=\"#000000\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><path d=\"M 486.25 760 L 349.26 712.1\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 344.31 710.37 L 352.07 709.38 L 349.26 712.1 L 349.76 715.98 Z\" fill=\"#000000\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><path d=\"M 29.75 830 L 174.75 830 L 189.75 845 L 189.75 860 L 29.75 860 L 29.75 830 Z\" fill=\"#ffffff\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><path d=\"M 174.75 830 L 174.75 845 L 189.75 845 Z\" fill-opacity=\"0.05\" fill=\"#000000\" stroke=\"none\" pointer-events=\"all\"><\/path><path d=\"M 174.75 830 L 174.75 845 L 189.75 845\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 845px; margin-left: 31px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \"><div><b><font color=\"#4d4d4d\">Threadsicher<\/font><\/b><\/div><\/div><\/div><\/div><\/foreignObject><text x=\"110\" y=\"849\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Threadsicher<\/text><\/switch><\/g><rect x=\"495\" y=\"600\" width=\"90\" height=\"40\" fill=\"none\" stroke=\"none\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 88px; height: 1px; padding-top: 620px; margin-left: 496px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \">Findet man oft in \u00e4lterem Code<\/div><\/div><\/div><\/foreignObject><text x=\"540\" y=\"624\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Findet man oft&#8230;<\/text><\/switch><\/g><path d=\"M 495 620 L 455 620\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-dasharray=\"3 3\" pointer-events=\"stroke\"><\/path><rect x=\"223.25\" y=\"760\" width=\"170\" height=\"30\" rx=\"4.5\" ry=\"4.5\" fill=\"#fff2cc\" stroke=\"#d6b656\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 168px; height: 1px; padding-top: 775px; margin-left: 224px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \">System.Collections.Immutable<\/div><\/div><\/div><\/foreignObject><text x=\"308\" y=\"779\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">System.Collections.Immutable<\/text><\/switch><\/g><path d=\"M 308.25 760 L 308.25 716.37\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 308.25 711.12 L 311.75 718.12 L 308.25 716.37 L 304.75 718.12 Z\" fill=\"#000000\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><path d=\"M 147.19 830 L 164.75 790\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-dasharray=\"3 3\" pointer-events=\"stroke\"><\/path><path d=\"M 148.31 827.99 L 265.75 790\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-dasharray=\"3 3\" pointer-events=\"stroke\"><\/path><path d=\"M 228.25 830 L 373.25 830 L 388.25 845 L 388.25 860 L 228.25 860 L 228.25 830 Z\" fill=\"#fff2cc\" stroke=\"#d6b656\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><path d=\"M 373.25 830 L 373.25 845 L 388.25 845 Z\" fill-opacity=\"0.05\" fill=\"#000000\" stroke=\"none\" pointer-events=\"all\"><\/path><path d=\"M 373.25 830 L 373.25 845 L 388.25 845\" fill=\"none\" stroke=\"#d6b656\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 845px; margin-left: 229px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \"><div><b><font color=\"#4d4d4d\">NuGet-Paket<\/font><\/b><\/div><\/div><\/div><\/div><\/foreignObject><text x=\"308\" y=\"849\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">NuGet-Paket<\/text><\/switch><\/g><path d=\"M 308.25 790 L 308.25 830\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-dasharray=\"3 3\" pointer-events=\"stroke\"><\/path><ellipse cx=\"29.75\" cy=\"107.5\" rx=\"7.5\" ry=\"7.5\" fill=\"#ffffff\" stroke=\"#000000\" pointer-events=\"all\"><\/ellipse><path d=\"M 29.75 115 L 29.75 140 M 29.75 120 L 14.75 120 M 29.75 120 L 44.75 120 M 29.75 140 L 14.75 160 M 29.75 140 L 44.75 160\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 167px; margin-left: 30px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; \">Actor<\/div><\/div><\/div><\/foreignObject><text x=\"30\" y=\"179\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Actor<\/text><\/switch><\/g><ellipse cx=\"244\" cy=\"20\" rx=\"58.5\" ry=\"10\" fill=\"none\" stroke=\"#000000\" pointer-events=\"all\"><\/ellipse><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 115px; height: 1px; padding-top: 20px; margin-left: 187px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \">Hinzuf\u00fcgen<\/div><\/div><\/div><\/foreignObject><text x=\"244\" y=\"24\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Hinzuf\u00fcgen<\/text><\/switch><\/g><ellipse cx=\"243.25\" cy=\"50\" rx=\"59.25\" ry=\"10\" fill=\"none\" stroke=\"#000000\" stroke-dasharray=\"3 3\" pointer-events=\"all\"><\/ellipse><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 117px; height: 1px; padding-top: 50px; margin-left: 185px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \">\u00c4ndern<\/div><\/div><\/div><\/foreignObject><text x=\"243\" y=\"54\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">\u00c4ndern<\/text><\/switch><\/g><path d=\"M 244 30 L 244 30\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 244 30 L 244 30 L 244 30 L 244 30 Z\" fill=\"#000000\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><ellipse cx=\"243.25\" cy=\"80\" rx=\"59.25\" ry=\"10\" fill=\"none\" stroke=\"#000000\" pointer-events=\"all\"><\/ellipse><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 117px; height: 1px; padding-top: 80px; margin-left: 185px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \">Entfernen<\/div><\/div><\/div><\/foreignObject><text x=\"243\" y=\"84\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Entfernen<\/text><\/switch><\/g><ellipse cx=\"243.25\" cy=\"110\" rx=\"59.25\" ry=\"10\" fill=\"none\" stroke=\"#000000\" pointer-events=\"all\"><\/ellipse><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 117px; height: 1px; padding-top: 110px; margin-left: 185px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \">Suchen<\/div><\/div><\/div><\/foreignObject><text x=\"243\" y=\"114\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">Suchen<\/text><\/switch><\/g><path d=\"M 185.5 20 L 44.75 120\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 184 50 L 44.75 120\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 184 80 L 44.75 120\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 184 110 L 44.75 120\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><rect x=\"495\" y=\"0\" width=\"102\" height=\"120\" fill=\"none\" stroke=\"#000000\" pointer-events=\"all\"><\/rect><path d=\"M 495 20 L 597 20\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><path d=\"M 515 0 L 515 120\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 100px; height: 1px; padding-top: 60px; margin-left: 497px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: left; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \"><div>&nbsp; &nbsp; &nbsp; &nbsp; Collection<\/div><ol><li>Object 1<\/li><li>Object 2<\/li><li>Object 3<\/li><li>&#8230;<\/li><li>Object n<\/li><\/ol><\/div><\/div><\/div><\/foreignObject><text x=\"497\" y=\"64\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\">Collectio&#8230;<\/text><\/switch><\/g><path d=\"M 589.1 357 L 589.96 120.96\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-dasharray=\"3 3\" pointer-events=\"stroke\"><\/path><path d=\"M 495 60 L 302.5 110\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 495 60 L 302.5 80\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 495 60 L 302.5 50\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 495 60 L 302.5 20\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><rect x=\"90.5\" y=\"280\" width=\"212\" height=\"40\" fill=\"none\" stroke=\"#000000\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 300px; margin-left: 197px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; \">\u00abinterface\u00bb<br><b>&nbsp;System.Collections.IEnumerable<\/b><\/div><\/div><\/div><\/foreignObject><text x=\"197\" y=\"304\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">\u00abinterface\u00bb&#8230;<\/text><\/switch><\/g><path d=\"M 195.5 357 L 196.12 334.11\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-dasharray=\"3 3\" pointer-events=\"stroke\"><\/path><path d=\"M 196.47 321.12 L 202.62 334.29 L 189.62 333.94 Z\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><rect x=\"0.5\" y=\"250\" width=\"182.25\" height=\"80\" fill=\"none\" stroke=\"none\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 173px; height: 1px; padding-top: 290px; margin-left: 10px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: left; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; \"><font color=\"#0000ff\">foreach<\/font>(Object o in Collection)&nbsp;<br>{<br>&nbsp; o.Property&#8230;<br><div><span>}<\/span><\/div><\/div><\/div><\/div><\/foreignObject><text x=\"10\" y=\"294\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\">foreach(Object o in Collectio&#8230;<\/text><\/switch><\/g><path d=\"M 46.06 320 L 46.08 330 Q 46.1 340 56.1 340 L 127.2 340 Q 137.2 340 137.2 333.18 L 137.19 326.37\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 137.19 321.12 L 140.69 328.12 L 137.19 326.37 L 133.69 328.12 Z\" fill=\"#000000\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><path d=\"M 80.51 320 L 0.5 320\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 452 280 L 451.75 256.37\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"stroke\"><\/path><path d=\"M 451.7 251.12 L 455.27 258.08 L 451.75 256.37 L 448.27 258.15 Z\" fill=\"#000000\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><rect x=\"322\" y=\"280\" width=\"260\" height=\"40\" fill=\"none\" stroke=\"#000000\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 300px; margin-left: 452px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: center; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; \">\u00abinterface\u00bb<br><b>&nbsp;System.Collections.Generic.IEnumerable<\/b><\/div><\/div><\/div><\/foreignObject><text x=\"452\" y=\"304\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\" text-anchor=\"middle\">\u00abinterface\u00bb&#8230;<\/text><\/switch><\/g><path d=\"M 450.5 360 L 451.47 334.11\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" stroke-dasharray=\"3 3\" pointer-events=\"stroke\"><\/path><path d=\"M 451.96 321.12 L 457.97 334.35 L 444.98 333.86 Z\" fill=\"none\" stroke=\"#000000\" stroke-miterlimit=\"10\" pointer-events=\"all\"><\/path><rect x=\"322\" y=\"130\" width=\"259.37\" height=\"120\" fill=\"none\" stroke=\"#000000\" pointer-events=\"all\"><\/rect><g transform=\"translate(-0.5 -0.5)\"><switch><foreignObject style=\"overflow: visible; text-align: left;\" pointer-events=\"none\" width=\"100%\" height=\"100%\" requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\" style=\"display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 137px; margin-left: 324px;\"><div style=\"box-sizing: border-box; font-size: 0; text-align: left; \"><div style=\"display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; \"><font style=\"font-size: 12px\"><span class=\"hljs-keyword\" style=\"box-sizing: inherit ; white-space: pre ; background-color: rgb(250 , 250 , 250)\"><u><b>LINQ<\/b><\/u><font color=\"#0101fd\"><br>var<\/font><\/span><span style=\"color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\"> query = <\/span><span class=\"hljs-keyword\" style=\"box-sizing: inherit ; color: rgb(1 , 1 , 253) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\">from<\/span><span style=\"color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\"> Object o <\/span><span class=\"hljs-keyword\" style=\"box-sizing: inherit ; color: rgb(1 , 1 , 253) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\">in<\/span><span style=\"color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\"> Collection <br>                   <\/span><span class=\"hljs-keyword\" style=\"box-sizing: inherit ; color: rgb(1 , 1 , 253) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\">where<\/span><span style=\"color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\"> o.Attribute<\/span><span style=\"color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\"> &gt; <\/span><span class=\"hljs-number\" style=\"box-sizing: inherit ; color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\">95<\/span><span style=\"color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\">  <br>                   <\/span><span class=\"hljs-keyword\" style=\"box-sizing: inherit ; color: rgb(1 , 1 , 253) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\">select<\/span><span style=\"color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\"> o;  <br><br><\/span><span class=\"hljs-keyword\" style=\"box-sizing: inherit ; color: rgb(1 , 1 , 253) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\">foreach<\/span><span style=\"color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\"> (Object o <\/span><span class=\"hljs-keyword\" style=\"box-sizing: inherit ; color: rgb(1 , 1 , 253) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\">in<\/span><span style=\"color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\"> query)  {<br>                Console.WriteLine(o.Attribute + &#8222;&#8220;<\/span><span style=\"color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\">);<br><\/span><span style=\"color: rgb(23 , 23 , 23) ; white-space: pre ; background-color: rgb(250 , 250 , 250)\">}<br><\/span><\/font><\/div><\/div><\/div><\/foreignObject><text x=\"324\" y=\"149\" fill=\"#000000\" font-family=\"Helvetica\" font-size=\"12px\">LINQ&#8230;<\/text><\/switch><\/g><\/g><switch><g requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"><\/g><a transform=\"translate(0,-5)\" xlink:href=\"https:\/\/desk.draw.io\/support\/solutions\/articles\/16000042487\" target=\"_blank\" rel=\"noopener noreferrer\"><text text-anchor=\"middle\" font-size=\"10px\" x=\"50%\" y=\"100%\">Viewer does not support full SVG 1.1<\/text><\/a><\/switch><\/svg>\n\n\n\n<p><\/p>\n\n\n\n<p>Auflistungen implementieren das Interface &#8222;IEnumerable&#8220;, um das Iterieren durch die Objekte in der Liste zu erm\u00f6glichen. Die foreach-Schleife nutzt beispielsweise dieses Interface um durch alle Objekte einer Collection zu iterieren. <\/p>\n\n\n\n<p>\u00dcber die Abfragesprache LINQ (Language Integrated Query) lassen sich SQL-\u00e4hnliche Abfragen auf Collections durchf\u00fchren, <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Namespaces \/ Namensr\u00e4ume<\/h2>\n\n\n\n<p>Der Namensraum f\u00fcr .NET Framework Collections liegt unter System.Collections.*, wobei weitere Sub-Namensr\u00e4ume existieren.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li> <strong>System.Collections.Concurrent<\/strong> (mehrere Threads \/ Tasks k\u00f6nnen parallel auf diesen Collections im Speicher operieren)<\/li><li><strong> System.Collections.Immutable<\/strong> (man arbeitet hierbei nur auf Kopien \/ die urspr\u00fcnglichen Daten werden nicht ge\u00e4ndert &#8211; muss zus\u00e4tzlich \u00fcber NuGet-Paket installiert werden)<\/li><li><strong> System.Collections.Generic <\/strong><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Dynamische Strukturen\/Collections allokieren immer 2^n Speicher-Pl\u00e4tze<\/h2>\n\n\n\n<p>Die Property &#8222;Capacity&#8220;, welche an jeder Collection anh\u00e4ngt, zeigt die Anzahl der Speicherpl\u00e4tze, die die Collection intern als Array alloziert hat. Bei 1025 Elementen werden intern 2048 Pl\u00e4tze vorbereitet. Bei 2049 Elementen werden intern 4096 Pl\u00e4tze vorbereitet. <\/p>\n\n\n\n<iframe loading=\"lazy\" width=\"100%\" height=\"475\" src=\"https:\/\/dotnetfiddle.net\/Widget\/6WArxA\" frameborder=\"0\"><\/iframe>\n\n\n\n<p><\/p>\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fwww.capri-soft.de%2Fblog%2F%3Fp%3D3101&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:450px;margin-top:5px;\"><\/iframe>","protected":false},"excerpt":{"rendered":"<p>Intention Eines der wichtigsten .NET Elemente zum Verwalten vom Datenbest\u00e4nden im Speicher sind Collections (Auflistungen). Im Vergleich zu normalen Array-Typen bieten diese die M\u00f6glichkeit zur Laufzeit Objekte hinzuzuf\u00fcgen, ohne vorher die Gr\u00f6\u00dfe\/die Anzahl der Objekte in der Collection zu kennen. Collections bieten Funktionen zum Hinzuf\u00fcgen, Entfernen und Suchen\/Finden von Objekten. Ist ein Objekt in einer &hellip; <a href=\"https:\/\/www.capri-soft.de\/blog\/?p=3101\" class=\"more-link\"><span class=\"screen-reader-text\">C# .NET : Collections im .NET Framework<\/span> weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,33,3],"tags":[104,105,106,107],"class_list":["post-3101","post","type-post","status-publish","format-standard","hentry","category-net","category-c","category-programmierung","tag-net","tag-c","tag-collections","tag-linq"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4yGeN-O1","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3101"}],"version-history":[{"count":19,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3101\/revisions"}],"predecessor-version":[{"id":3177,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3101\/revisions\/3177"}],"wp:attachment":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}