141 reputation
3
bio website virkony.blogspot.com
location Ukraine
age 30
visits member for 3 years, 2 months
seen Feb 18 at 7:18

Oct
18
comment Why is 'void' not allowed as a generic type in C#
I think all structs is handled at compile time to get proper placement on stack and in other places where they are inlined. Thus Void should be ok to be passed as infinite amount of arguments inside of 0 stack bytes. When any structure needs converting to object or call for method (to get this) it boxed with placing on the heap with Type reference inserted before fields area of memory (for many CLR implementations) and thus could be handled properly. As for me type is just a groupping of objects that can be distinguished by some characteristics (fields). Void is just one object.
Jan
2
revised How do existential types differ from interfaces?
Now it should be more than just "Hmm..."
Jan
2
awarded  Editor
Jan
2
revised How do existential types differ from interfaces?
Now it should be more than just "Hmm..."
Jan
2
answered How do existential types differ from interfaces?
Feb
15
awarded  Teacher
Feb
8
awarded  Supporter