Click here to Skip to main content
15,891,951 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: F-35 Pilot Helmet Pin
Maximilien30-Sep-21 2:55
Maximilien30-Sep-21 2:55 
GeneralRe: F-35 Pilot Helmet Pin
jeron130-Sep-21 6:14
jeron130-Sep-21 6:14 
GeneralRe: F-35 Pilot Helmet Pin
Gary Wheeler1-Oct-21 2:50
Gary Wheeler1-Oct-21 2:50 
RantC# 9 nullable reference alert Pin
Super Lloyd29-Sep-21 17:05
Super Lloyd29-Sep-21 17:05 
JokeRe: C# 9 nullable reference alert Pin
David O'Neil29-Sep-21 20:35
professionalDavid O'Neil29-Sep-21 20:35 
GeneralRe: C# 9 nullable reference alert Pin
Richard Deeming29-Sep-21 22:02
mveRichard Deeming29-Sep-21 22:02 
GeneralRe: C# 9 nullable reference alert Pin
Member 916705730-Sep-21 20:39
Member 916705730-Sep-21 20:39 
GeneralRe: C# 9 nullable reference alert Pin
ZevSpitz30-Sep-21 22:45
professionalZevSpitz30-Sep-21 22:45 
Not sure what you're expecting here. IList has no knowledge of the type of its elements. Both the parameter to Add and the returned element of the indexer are typed as object? to be as wide as possible. You'd have the same problem here:
var lst = new List<int>();
IList ilist = lst;
ilist.Add("Lorem ipsum");

GeneralRe: C# 9 nullable reference alert Pin
Super Lloyd30-Sep-21 23:30
Super Lloyd30-Sep-21 23:30 
GeneralRe: C# 9 nullable reference alert Pin
obermd1-Oct-21 3:26
obermd1-Oct-21 3:26 
GeneralRe: C# 9 nullable reference alert Pin
Al Gonzalez1-Oct-21 4:10
Al Gonzalez1-Oct-21 4:10 
GeneralRe: C# 9 nullable reference alert Pin
Adam David Hill6-Oct-21 10:42
professionalAdam David Hill6-Oct-21 10:42 
GeneralRe: C# 9 nullable reference alert Pin
Super Lloyd6-Oct-21 13:23
Super Lloyd6-Oct-21 13:23 
JokeFound your next laptop Pin
raddevus29-Sep-21 10:56
mvaraddevus29-Sep-21 10:56 
GeneralRe: Found your next laptop Pin
Cp-Coder29-Sep-21 11:22
Cp-Coder29-Sep-21 11:22 
GeneralRe: Found your next laptop Pin
Mike Hankey29-Sep-21 11:39
mveMike Hankey29-Sep-21 11:39 
GeneralRe: Found your next laptop Pin
Maximilien29-Sep-21 11:59
Maximilien29-Sep-21 11:59 
GeneralRe: Found your next laptop Pin
raddevus29-Sep-21 12:04
mvaraddevus29-Sep-21 12:04 
GeneralRe: Found your next laptop Pin
David O'Neil29-Sep-21 12:12
professionalDavid O'Neil29-Sep-21 12:12 
GeneralRe: Found your next laptop Pin
Duke Carey30-Sep-21 0:26
professionalDuke Carey30-Sep-21 0:26 
GeneralRe: Found your next laptop Pin
Jon McKee29-Sep-21 12:29
professionalJon McKee29-Sep-21 12:29 
GeneralRe: Found your next laptop Pin
Richard Andrew x6429-Sep-21 13:31
professionalRichard Andrew x6429-Sep-21 13:31 
GeneralRe: Found your next laptop Pin
JohaViss611-Oct-21 1:09
professionalJohaViss611-Oct-21 1:09 
GeneralRe: Found your next laptop Pin
den2k8829-Sep-21 21:18
professionalden2k8829-Sep-21 21:18 
GeneralRe: Found your next laptop Pin
User 991608030-Sep-21 4:00
professionalUser 991608030-Sep-21 4:00 

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.