Click here to Skip to main content
15,885,366 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
NewsIFTTT debuts paid Pro subscription service for Applet creation Pin
Kent Sharkey10-Sep-20 10:15
staffKent Sharkey10-Sep-20 10:15 
NewsAccess Linux filesystems in Windows and WSL 2 Pin
Kent Sharkey10-Sep-20 8:00
staffKent Sharkey10-Sep-20 8:00 
GeneralRe: Access Linux filesystems in Windows and WSL 2 Pin
Nelek10-Sep-20 8:57
protectorNelek10-Sep-20 8:57 
NewsApple design teams develop special face masks for employees Pin
Kent Sharkey10-Sep-20 8:00
staffKent Sharkey10-Sep-20 8:00 
GeneralRe: Apple design teams develop special face masks for employees Pin
Joe Woodbury10-Sep-20 12:30
professionalJoe Woodbury10-Sep-20 12:30 
GeneralRe: Apple design teams develop special face masks for employees Pin
Vivi Chellappa11-Sep-20 10:13
professionalVivi Chellappa11-Sep-20 10:13 
NewsC# 9.0: Target-typed new expressions – Make your initialization code less verbose Pin
Kent Sharkey10-Sep-20 7:00
staffKent Sharkey10-Sep-20 7:00 
GeneralRe: C# 9.0: Target-typed new expressions – Make your initialization code less verbose Pin
BillWoodruff10-Sep-20 20:20
professionalBillWoodruff10-Sep-20 20:20 
Quote:
When reading the code, you need to look at the types of the properties AddFriendCommand and Friends to know what the two new expressions in the code snippet above are actually creating. But that’s only true if you do not read the code in a tool like Visual Studio, but in a simple text editor or on a blog like this one. If you look at the code in Visual Studio, you can hover any target-typed new expression with your mouse to see which constructor it calls. In the screenshot below I hovered the second new expression in Visual Studio and you can see in the tooltip that it actually creates an ObservableCollection<friend>.
Huber is a good writer.

Type inference on the left (var) now joins inference on the right (new(#####)): I feel dyslexic !
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali

GeneralRe: C# 9.0: Target-typed new expressions – Make your initialization code less verbose Pin
Dan Neely11-Sep-20 2:24
Dan Neely11-Sep-20 2:24 
GeneralRe: C# 9.0: Target-typed new expressions – Make your initialization code less verbose Pin
Rob Grainger14-Sep-20 22:59
Rob Grainger14-Sep-20 22:59 
GeneralRe: C# 9.0: Target-typed new expressions – Make your initialization code less verbose Pin
Richard Andrew x6411-Sep-20 7:25
professionalRichard Andrew x6411-Sep-20 7:25 
GeneralRe: C# 9.0: Target-typed new expressions – Make your initialization code less verbose Pin
Dominic Burford14-Sep-20 2:45
professionalDominic Burford14-Sep-20 2:45 
NewsWindows 10 2004 KB4571756 breaks Windows Subsystem for Linux 2 Pin
Kent Sharkey10-Sep-20 7:00
staffKent Sharkey10-Sep-20 7:00 
GeneralRe: Windows 10 2004 KB4571756 breaks Windows Subsystem for Linux 2 Pin
Nelek10-Sep-20 8:53
protectorNelek10-Sep-20 8:53 
NewsNASA says it will pay private companies to gather Moon rocks Pin
Kent Sharkey10-Sep-20 7:00
staffKent Sharkey10-Sep-20 7:00 
GeneralRe: NASA says it will pay private companies to gather Moon rocks Pin
Nelek10-Sep-20 8:51
protectorNelek10-Sep-20 8:51 
NewsVivaldi 3.3 can pause the web with new 'Take a Break' feature Pin
Kent Sharkey9-Sep-20 11:45
staffKent Sharkey9-Sep-20 11:45 
GeneralRe: Vivaldi 3.3 can pause the web with new 'Take a Break' feature Pin
Nelek10-Sep-20 8:49
protectorNelek10-Sep-20 8:49 
GeneralRe: Vivaldi 3.3 can pause the web with new 'Take a Break' feature Pin
r_hyde10-Sep-20 10:26
r_hyde10-Sep-20 10:26 
GeneralRe: Vivaldi 3.3 can pause the web with new 'Take a Break' feature Pin
Kent Sharkey10-Sep-20 10:44
staffKent Sharkey10-Sep-20 10:44 
GeneralRe: Vivaldi 3.3 can pause the web with new 'Take a Break' feature Pin
Joe Woodbury10-Sep-20 12:28
professionalJoe Woodbury10-Sep-20 12:28 
NewsMicrosoft's Fluid Framework is now open source on GitHub Pin
Kent Sharkey9-Sep-20 11:45
staffKent Sharkey9-Sep-20 11:45 
NewsPhysicist: The entire universe might be a neural network Pin
Kent Sharkey9-Sep-20 10:45
staffKent Sharkey9-Sep-20 10:45 
GeneralRe: Physicist: The entire universe might be a neural network Pin
Patrice T10-Sep-20 1:01
mvePatrice T10-Sep-20 1:01 
GeneralRe: Physicist: The entire universe might be a neural network Pin
Nelek10-Sep-20 8:48
protectorNelek10-Sep-20 8:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.