Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
[SOLVED]Readonly Nullable
Is there a way to implement double as readonly and nullable like in the Code below? Nullable<readonly double> example; This code isn't working. Thanks for you answers!
4 Respostas
+ 1
Thank you very much!
0
Jamieš
Unfortunately neither were accepted as I checked in Playground, dunno why.
0
Jamieš
I copy and pasted those lines in Playground (in Main of a new C# code), and I only removed the "or" in between; and I got warning for both lines ...
0
Jamieš
Looks like I need to have another go on readonly articles, I thought only static readonly is like that š