Skip to content

LinqQueryExpression.excalidraw

⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠

Text Elements

var

result =

from

s

in

strList

where

s.Contains(

)

“Tutorials”

select

s;

Result variable

Range variable

Sequence (IEnumerable or IQueryable collection)

Conditional expression

Standard Query Operators

%%

Drawing

{
"type": "excalidraw",
"version": 2,
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/1.9.19",
"elements": [
{
"id": "l3OdUnvC",
"type": "text",
"x": -304.8606117759325,
"y": -292.7850327515987,
"width": 32.39997863769531,
"height": 25,
"angle": 0,
"strokeColor": "#1971c2",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": null,
"seed": 1187917439,
"version": 46,
"versionNonce": 449060241,
"isDeleted": false,
"boundElements": null,
"updated": 1700683275179,
"link": null,
"locked": false,
"text": "var",
"rawText": "var",
"fontSize": 20,
"fontFamily": 1,
"textAlign": "left",
"verticalAlign": "top",
"baseline": 18,
"containerId": null,
"originalText": "var",
"lineHeight": 1.25
},
{
"id": "Twr7wP7y",
"type": "text",
"x": -256.35662278591474,
"y": -294.26570413245133,
"width": 80.65992736816406,
"height": 25,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": null,
"seed": 712075423,
"version": 130,
"versionNonce": 156022705,
"isDeleted": false,
"boundElements": null,
"updated": 1700683277053,
"link": null,
"locked": false,
"text": "result =",
"rawText": "result =",
"fontSize": 20,
"fontFamily": 1,
"textAlign": "left",
"verticalAlign": "top",
"baseline": 18,
"containerId": null,
"originalText": "result =",
"lineHeight": 1.25
},
{
"id": "5C4oFt3m",
"type": "text",
"x": -161.14974857756647,
"y": -293.54767607206054,
"width": 42.05995178222656,
"height": 25,
"angle": 0,
"strokeColor": "#1971c2",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": null,
"seed": 1361379423,
"version": 96,
"versionNonce": 971812785,
"isDeleted": false,
"boundElements": null,
"updated": 1700683281241,
"link": null,
"locked": false,
"text": "from",
"rawText": "from",
"fontSize": 20,
"fontFamily": 1,
"textAlign": "left",
"verticalAlign": "top",
"baseline": 18,
"containerId": null,
"originalText": "from",
"lineHeight": 1.25
},
{
"id": "ac93nXKI",
"type": "text",
"x": -104.25151284355212,
"y": -294.251949264192,
"width": 10.8599853515625,
"height": 25,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": null,
"seed": 2011259569,
"version": 92,
"versionNonce": 1958289087,
"isDeleted": false,
"boundElements": [
{
"id": "VRRcs2m1WEt1v7w4W-yp_",
"type": "arrow"
}
],
"updated": 1700683435154,
"link": null,
"locked": false,
"text": "s",
"rawText": "s",
"fontSize": 20,
"fontFamily": 1,
"textAlign": "left",
"verticalAlign": "top",
"baseline": 18,
"containerId": null,
"originalText": "s",
"lineHeight": 1.25
},
{
"type": "text",
"version": 116,
"versionNonce": 1093576113,
"isDeleted": false,
"id": "PdCjoDUa",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -72.85700240223207,
"y": -293.71292167879227,
"strokeColor": "#1971c2",
"backgroundColor": "transparent",
"width": 13.719985961914062,
"height": 25,
"seed": 1310057841,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1700683284776,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "in",
"rawText": "in",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "in",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "text",
"version": 165,
"versionNonce": 1196283313,
"isDeleted": false,
"id": "YCRiQP5R",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -39.881495405709984,
"y": -294.6525047576022,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 69.27992248535156,
"height": 25,
"seed": 1290263921,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [
{
"id": "FaTJXXttIjbQP1j6Eiin4",
"type": "arrow"
}
],
"updated": 1700683464941,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "strList",
"rawText": "strList",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "strList",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "text",
"version": 247,
"versionNonce": 267871487,
"isDeleted": false,
"id": "QDpkJlvA",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -160.82892967500646,
"y": -260.43189605303667,
"strokeColor": "#1971c2",
"backgroundColor": "transparent",
"width": 52.539947509765625,
"height": 25,
"seed": 1296060447,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [
{
"id": "Q6tc8w4D5BEmJSjJMSu4N",
"type": "arrow"
}
],
"updated": 1700683516736,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "where",
"rawText": "where",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "where",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "text",
"version": 265,
"versionNonce": 864761969,
"isDeleted": false,
"id": "luScWwFD",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -86.46379840799187,
"y": -260.4296989271754,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 107.15989685058594,
"height": 25,
"seed": 1483572593,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1700683324622,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "s.Contains(",
"rawText": "s.Contains(",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "s.Contains(",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "text",
"version": 365,
"versionNonce": 2138621471,
"isDeleted": false,
"id": "Bp62NesP",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 132.78739130674586,
"y": -260.0495961531432,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 6.7599945068359375,
"height": 25,
"seed": 1591379807,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1700683359529,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": ")",
"rawText": ")",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": ")",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "text",
"version": 354,
"versionNonce": 1686268689,
"isDeleted": false,
"id": "G95en1tu",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 22.304917363408833,
"y": -260.1352840617401,
"strokeColor": "#e03131",
"backgroundColor": "transparent",
"width": 105.37989807128906,
"height": 25,
"seed": 786581055,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [
{
"id": "bGYcSNul2vH6y-vA-op-y",
"type": "arrow"
}
],
"updated": 1700683491564,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "\"Tutorials\"",
"rawText": "\"Tutorials\"",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "\"Tutorials\"",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "text",
"version": 322,
"versionNonce": 2008424657,
"isDeleted": false,
"id": "p1pWhYz8",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -159.3808764165026,
"y": -225.8447407419896,
"strokeColor": "#1971c2",
"backgroundColor": "transparent",
"width": 59.339935302734375,
"height": 25,
"seed": 527722111,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [
{
"id": "Unl-0yWniN8uVzfjTWtvz",
"type": "arrow"
}
],
"updated": 1700683521576,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "select",
"rawText": "select",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "select",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "text",
"version": 180,
"versionNonce": 2015172415,
"isDeleted": false,
"id": "tNnCIREF",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -79.23607408496895,
"y": -225.18560298355254,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 16.019973754882812,
"height": 25,
"seed": 1601579167,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1700683390421,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "s;",
"rawText": "s;",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "s;",
"lineHeight": 1.25,
"baseline": 18
},
{
"id": "crPSKQcm",
"type": "text",
"x": -340.58769488481244,
"y": -353.6773666390735,
"width": 149.75987243652344,
"height": 25,
"angle": 0,
"strokeColor": "#f08c00",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": null,
"seed": 1310360017,
"version": 139,
"versionNonce": 2069596529,
"isDeleted": false,
"boundElements": [
{
"id": "FZkrndxPb4qtkm3mSHd3i",
"type": "arrow"
}
],
"updated": 1700683499702,
"link": null,
"locked": false,
"text": "Result variable",
"rawText": "Result variable",
"fontSize": 20,
"fontFamily": 1,
"textAlign": "left",
"verticalAlign": "top",
"baseline": 18,
"containerId": null,
"originalText": "Result variable",
"lineHeight": 1.25
},
{
"id": "FZkrndxPb4qtkm3mSHd3i",
"type": "arrow",
"x": -261.01591417031005,
"y": -325.29928901250224,
"width": 26.751533973097366,
"height": 32.76793509776127,
"angle": 0,
"strokeColor": "#f08c00",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"seed": 566857873,
"version": 42,
"versionNonce": 1189819217,
"isDeleted": false,
"boundElements": null,
"updated": 1700683499702,
"link": null,
"locked": false,
"points": [
[
0,
0
],
[
26.751533973097366,
32.76793509776127
]
],
"lastCommittedPoint": null,
"startBinding": {
"elementId": "crPSKQcm",
"focus": 0.09720786383883184,
"gap": 3.378077626571269
},
"endBinding": null,
"startArrowhead": null,
"endArrowhead": "arrow"
},
{
"type": "text",
"version": 238,
"versionNonce": 893547135,
"isDeleted": false,
"id": "clUJZVVm",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -94.62353868045267,
"y": -355.5059263299797,
"strokeColor": "#f08c00",
"backgroundColor": "transparent",
"width": 143.67990112304688,
"height": 25,
"seed": 1480829841,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [
{
"id": "VRRcs2m1WEt1v7w4W-yp_",
"type": "arrow"
}
],
"updated": 1700683435154,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "Range variable",
"rawText": "Range variable",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Range variable",
"lineHeight": 1.25,
"baseline": 18
},
{
"id": "VRRcs2m1WEt1v7w4W-yp_",
"type": "arrow",
"x": -73.07224137146142,
"y": -327.3140534274578,
"width": 19.78072413069225,
"height": 34.16091289392466,
"angle": 0,
"strokeColor": "#f08c00",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"seed": 1354198545,
"version": 90,
"versionNonce": 1852689055,
"isDeleted": false,
"boundElements": null,
"updated": 1700683435154,
"link": null,
"locked": false,
"points": [
[
0,
0
],
[
-19.78072413069225,
34.16091289392466
]
],
"lastCommittedPoint": null,
"startBinding": {
"elementId": "clUJZVVm",
"focus": 0.5210340928129542,
"gap": 3.1918729025218795
},
"endBinding": {
"elementId": "ac93nXKI",
"focus": -0.04998825033644143,
"gap": 1
},
"startArrowhead": null,
"endArrowhead": "arrow"
},
{
"type": "text",
"version": 442,
"versionNonce": 81368447,
"isDeleted": false,
"id": "TloXSyq7",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 125.34088040374098,
"y": -363.3914110467467,
"strokeColor": "#f08c00",
"backgroundColor": "transparent",
"width": 210.45980834960938,
"height": 75,
"seed": 2094580607,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [
{
"id": "FaTJXXttIjbQP1j6Eiin4",
"type": "arrow"
}
],
"updated": 1700683468771,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "Sequence\n(IEnumerable or\nIQueryable collection)",
"rawText": "Sequence\n(IEnumerable or\nIQueryable collection)",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Sequence\n(IEnumerable or\nIQueryable collection)",
"lineHeight": 1.25,
"baseline": 68
},
{
"id": "FaTJXXttIjbQP1j6Eiin4",
"type": "arrow",
"x": 119.04224682842766,
"y": -344.04290002484055,
"width": 84.25538253513128,
"height": 61.0551153227492,
"angle": 0,
"strokeColor": "#f08c00",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"seed": 749837119,
"version": 178,
"versionNonce": 757301695,
"isDeleted": false,
"boundElements": null,
"updated": 1700683468771,
"link": null,
"locked": false,
"points": [
[
0,
0
],
[
-84.25538253513128,
61.0551153227492
]
],
"lastCommittedPoint": null,
"startBinding": {
"elementId": "TloXSyq7",
"focus": 0.8700654800343184,
"gap": 6.298633575313318
},
"endBinding": {
"elementId": "YCRiQP5R",
"focus": 0.7491974216331893,
"gap": 5.388437213654811
},
"startArrowhead": null,
"endArrowhead": "arrow"
},
{
"type": "text",
"version": 414,
"versionNonce": 1147759807,
"isDeleted": false,
"id": "Jbt6zQEi",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 28.757424659977545,
"y": -205.2378972873894,
"strokeColor": "#f08c00",
"backgroundColor": "transparent",
"width": 211.8597869873047,
"height": 25,
"seed": 672220703,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [
{
"id": "bGYcSNul2vH6y-vA-op-y",
"type": "arrow"
}
],
"updated": 1700683493729,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "Conditional expression",
"rawText": "Conditional expression",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Conditional expression",
"lineHeight": 1.25,
"baseline": 18
},
{
"id": "bGYcSNul2vH6y-vA-op-y",
"type": "arrow",
"x": 66.58888312133324,
"y": -212.65484322149194,
"width": 43.21101595626469,
"height": 19.87033022779144,
"angle": 0,
"strokeColor": "#f08c00",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"seed": 741255487,
"version": 289,
"versionNonce": 1771473151,
"isDeleted": false,
"boundElements": null,
"updated": 1700683493730,
"link": null,
"locked": false,
"points": [
[
0,
0
],
[
-43.21101595626469,
-19.87033022779144
]
],
"lastCommittedPoint": null,
"startBinding": {
"elementId": "Jbt6zQEi",
"focus": -0.18615237996653647,
"gap": 7.416945934102557
},
"endBinding": {
"elementId": "G95en1tu",
"focus": 1.0576305284170313,
"gap": 2.610110612456708
},
"startArrowhead": null,
"endArrowhead": "arrow"
},
{
"type": "text",
"version": 279,
"versionNonce": 2030334225,
"isDeleted": false,
"id": "bOWqZe3Q",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -487.93543339149164,
"y": -235.10342912216663,
"strokeColor": "#f08c00",
"backgroundColor": "transparent",
"width": 264.31976318359375,
"height": 25,
"seed": 1140937489,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [
{
"id": "Q6tc8w4D5BEmJSjJMSu4N",
"type": "arrow"
},
{
"id": "Unl-0yWniN8uVzfjTWtvz",
"type": "arrow"
}
],
"updated": 1700683521576,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "Standard Query Operators",
"rawText": "Standard Query Operators",
"textAlign": "left",
"verticalAlign": "top",
"containerId": null,
"originalText": "Standard Query Operators",
"lineHeight": 1.25,
"baseline": 18
},
{
"id": "Q6tc8w4D5BEmJSjJMSu4N",
"type": "arrow",
"x": -215.4569828231455,
"y": -224.53250562852537,
"width": 49.11894575872003,
"height": 21.22203869580767,
"angle": 0,
"strokeColor": "#f08c00",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"seed": 888832273,
"version": 68,
"versionNonce": 596105439,
"isDeleted": false,
"boundElements": null,
"updated": 1700683516736,
"link": null,
"locked": false,
"points": [
[
0,
0
],
[
49.11894575872003,
-21.22203869580767
]
],
"lastCommittedPoint": null,
"startBinding": {
"elementId": "bOWqZe3Q",
"focus": 0.8433326179177876,
"gap": 8.158687384752398
},
"endBinding": {
"elementId": "QDpkJlvA",
"focus": 0.48439853979356223,
"gap": 5.509107389419
},
"startArrowhead": null,
"endArrowhead": "arrow"
},
{
"id": "Unl-0yWniN8uVzfjTWtvz",
"type": "arrow",
"x": -215.21749610424678,
"y": -214.9134886070691,
"width": 47.36783644713927,
"height": 6.635320101598438,
"angle": 0,
"strokeColor": "#f08c00",
"backgroundColor": "transparent",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"seed": 987786527,
"version": 60,
"versionNonce": 1515595505,
"isDeleted": false,
"boundElements": null,
"updated": 1700683521576,
"link": null,
"locked": false,
"points": [
[
0,
0
],
[
47.36783644713927,
6.635320101598438
]
],
"lastCommittedPoint": null,
"startBinding": {
"elementId": "bOWqZe3Q",
"focus": -0.38691878397193846,
"gap": 8.398174103651115
},
"endBinding": {
"elementId": "p1pWhYz8",
"focus": -0.624937361522647,
"gap": 8.468783240604921
},
"startArrowhead": null,
"endArrowhead": "arrow"
}
],
"appState": {
"theme": "light",
"viewBackgroundColor": "#ffffff",
"currentItemStrokeColor": "#f08c00",
"currentItemBackgroundColor": "transparent",
"currentItemFillStyle": "hachure",
"currentItemStrokeWidth": 1,
"currentItemStrokeStyle": "solid",
"currentItemRoughness": 1,
"currentItemOpacity": 100,
"currentItemFontFamily": 1,
"currentItemFontSize": 20,
"currentItemTextAlign": "left",
"currentItemStartArrowhead": null,
"currentItemEndArrowhead": "arrow",
"scrollX": 356.8332435044215,
"scrollY": 460.8756867009981,
"zoom": {
"value": 1.7778908657561472
},
"currentItemRoundness": "round",
"gridSize": null,
"gridColor": {
"Bold": "#C9C9C9FF",
"Regular": "#EDEDEDFF"
},
"currentStrokeOptions": null,
"previousGridSize": null,
"frameRendering": {
"enabled": true,
"clip": true,
"name": true,
"outline": true
}
},
"files": {}
}

%%