Click here to Skip to main content
15,795,318 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# win forms .net core, user control, array on a dialog. Pin
OriginalGriff28-Oct-20 7:35
mvaOriginalGriff28-Oct-20 7:35 
AnswerI think I have it now Pin
jkirkerx28-Oct-20 6:16
professionaljkirkerx28-Oct-20 6:16 
QuestionLinq To SQL - Join To Latest Record Pin
Kevin Marois27-Oct-20 13:27
professionalKevin Marois27-Oct-20 13:27 
AnswerRe: Linq To SQL - Join To Latest Record Pin
pkfox27-Oct-20 23:15
professionalpkfox27-Oct-20 23:15 
QuestionTemporal Nulls in C# Pin
RandyBuchholz27-Oct-20 4:18
RandyBuchholz27-Oct-20 4:18 
AnswerRe: Temporal Nulls in C# Pin
Gerry Schmitz27-Oct-20 5:26
mveGerry Schmitz27-Oct-20 5:26 
AnswerRe: Temporal Nulls in C# Pin
Pete O'Hanlon27-Oct-20 10:55
subeditorPete O'Hanlon27-Oct-20 10:55 
AnswerRe: Temporal Nulls in C# Pin
BillWoodruff27-Oct-20 11:17
professionalBillWoodruff27-Oct-20 11:17 
I suggest you look at the new static analysis features/attributes in C# 8: [^]

Quote:
AllowNull: A non-nullable input argument may be null.
DisallowNull: A nullable input argument should never be null.
MaybeNull: A non-nullable return value may be null.
NotNull: A nullable return value will never be null.
MaybeNullWhen: A non-nullable input argument may be null when the method returns the specified bool value.
NotNullWhen: A nullable input argument will not be null when the method returns the specified bool value.
NotNullIfNotNull: A return value isn't null if the argument for the specified parameter isn't null.
DoesNotReturn: A method never returns. In other words, it always throws an exception.
DoesNotReturnIf: This method never returns if the associated bool parameter has the specified value.
I recommend Jonathan Allen's coverage of these features on InfoQ: >[^]
«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


modified 28-Oct-20 5:06am.

QuestionProgramming C # Pin
Immanuel Hitila26-Oct-20 13:10
Immanuel Hitila26-Oct-20 13:10 
AnswerRe: Programming C # Pin
Pete O'Hanlon26-Oct-20 13:16
subeditorPete O'Hanlon26-Oct-20 13:16 
GeneralRe: Programming C # Pin
Immanuel Hitila26-Oct-20 13:21
Immanuel Hitila26-Oct-20 13:21 
AnswerRe: Programming C # Pin
Richard Andrew x6426-Oct-20 15:06
professionalRichard Andrew x6426-Oct-20 15:06 
AnswerRe: Programming C # Pin
OriginalGriff26-Oct-20 22:14
mvaOriginalGriff26-Oct-20 22:14 
QuestionHow to launch a form only once Pin
Ismael_199926-Oct-20 8:57
Ismael_199926-Oct-20 8:57 
AnswerRe: How to launch a form only once Pin
OriginalGriff26-Oct-20 9:35
mvaOriginalGriff26-Oct-20 9:35 
GeneralRe: How to launch a form only once Pin
Ismael_199926-Oct-20 11:09
Ismael_199926-Oct-20 11:09 
GeneralRe: How to launch a form only once Pin
OriginalGriff26-Oct-20 22:15
mvaOriginalGriff26-Oct-20 22:15 
GeneralRe: How to launch a form only once Pin
Ismael_199927-Oct-20 11:40
Ismael_199927-Oct-20 11:40 
GeneralRe: How to launch a form only once Pin
OriginalGriff27-Oct-20 11:42
mvaOriginalGriff27-Oct-20 11:42 
AnswerRe: How to launch a form only once Pin
Gerry Schmitz26-Oct-20 15:50
mveGerry Schmitz26-Oct-20 15:50 
AnswerRe: How to launch a form only once Pin
Richard Deeming26-Oct-20 23:10
mveRichard Deeming26-Oct-20 23:10 
QuestionDesign an elegant solution for choosing a class whose method gets called Pin
Member 1497555126-Oct-20 7:13
Member 1497555126-Oct-20 7:13 
AnswerRe: Design an elegant solution for choosing a class whose method gets called Pin
Gerry Schmitz26-Oct-20 15:58
mveGerry Schmitz26-Oct-20 15:58 
Questionan apparent violation of C#-generic "physics" ? (language issue) Pin
BillWoodruff25-Oct-20 23:18
professionalBillWoodruff25-Oct-20 23:18 
AnswerRe: an apparent violation of C#-generic "physics" ? (language issue) Pin
pkfox25-Oct-20 23:58
professionalpkfox25-Oct-20 23:58 

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.