C# does have value types, but that doesn't let you allocate arrays on the stack.
On Thu, Nov 11, 2010 at 7:11 PM, Casper Bang <[email protected]> wrote: > C# has value types, so you can do stuff like allocate a large array of > structs on the stack, which is of course much cheaper than on the heap > since you avoid GC and (unless you do silly things) also boxing. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
