일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- RPA
- sonar-qube
- Xen
- Git
- UiPATH #UiRPA #RPA
- MaxGauge
- gitlab
- gitlab-ci
- container-registry
- Oracle
- docker
- PostgreSQL
- Shell
- runner
- UIPATH
- gitlab-runner
- UiARD
- Today
- Total
올챙이시절 기록소
Linq 공부 본문
요즘 Linq에 꽂혔다
Linq 는 C# 의 꽃인 것 같다 ( C# 잘 모릅니다. )
1~2줄로 'DataTable => Enumerable => Dictionary' 이걸 하려고 했다.
구글엔 더이상 새로운 자료가 없고 원리를 이해해야 하는 단계인거 같다
AsEnumerable.ToDicitionary의 입력 Argument들이 뭐가 뭔지 모르겠다
여튼 오늘은 2시간 내내 시행착오만 했다 피자나 먹으러 가야겠다
시행착오는 나의 스승

언제 이해해서 노트해두나..

<2021.02.25> 마침내 dictionary ( string, string ) 형태로 추출했다! ( 될 때까지 하는 거 잘함 )

모르는 지식을 메워야 문제가 풀린다.
또한 혼재해서 쓰고 있던 Linq 문법이 알고보니 VB.net과 C# 각각의 스타일이었다
이제는 그 차이를 설명 할 수 있다

refs : www.tutlane.com/tutorial/linq/linq-todictionary-method
LINQ ToDictionary() Method - Tutlane
In LINQ, ToDictionary operator is used to convert list/collection (IEnumerable<T>) items to a new dictionary object (Dictionary<TKey,TValue>) and it will optimize list/collection items by getting only required values. Syntax of LINQ ToDictionary Operator F
www.tutlane.com
'2020' 카테고리의 다른 글
UiPath - UiRPA 시험정보 공유 (9) | 2021.06.04 |
---|---|
UiPath - UiARD 시험정보 공유 (12) | 2021.06.04 |
UiPath - UiARD 취득 및 Bagde 발급 (29) | 2020.08.20 |