var g1 = parent?.child?.child?.child;
if (g1 != null) // TODO
Wow! This is the equivalent of testing every single level, but in a single line of code. The “?.” operator is basically saying:
if the object to the left is not null, then fetch what is to the right, otherwise return null and halt the access chain.
Friday, November 29, 2019
Thursday, November 7, 2019
SQL - Tools
Good free tool for searching through all database fast:
ApexSQL search tool.
ApexSQL search tool.
Visual Studio, Resharper - Short Cut Keys
Visual Studio
ctrl+ -
Debug
Find current position: alt + *
Resharper
Extract method
CTRL + SHIFT + R
Collapse all
CTRL + M + O
Highlight
SHIFT + ALT +F11
--> Navigera detta med : CTRL+ALT + PAGE UP/DOWN
Subscribe to:
Posts (Atom)