Resharper highlights the new keyword in my code with a hint "Object allocation (evident)".
What does this mean?
Source
Highlights object creation expressions where explicit allocation happens.
It means it can be used to notify you about new allocations and thus reduce number of heap allocations in hot paths of your C# program.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With