zarana agrawal

zarana agrawal

  • NA
  • 27
  • 603

Why in C# after new we don't handle exception

Mar 28 2018 9:32 AM
new throws an exception OutofmemoryException if unable to allocate memory.
But in general I have seen after wherever we are doing new we don't enclose in try catch block.
Is there any specific reason? or what are the coding guidelines for using new 

Answers (5)