1

Using the C# Azure Storage SDK, do I need to make sure my reference to a CloudBlobContainer is short lived?

Or is it safe to hold a single reference in a manager class that is a singleton?

PenFold
  • 706
  • 3
  • 20

1 Answers1

-2

If you hold a single reference in a class that is singleton, the last reference will not short-lived because it is still referenced by your class. Other references should be GC

Toan Nguyen
  • 11,263
  • 5
  • 43
  • 59