Which class should you use?

You have a C# application.
The application requires 500 MB of available memory.
You need to identify whether there is enough available memory when the application starts.
Which class should you use?

You have a C# application.
The application requires 500 MB of available memory.
You need to identify whether there is enough available memory when the application starts.
Which class should you use?

A.
OutOfmemoryException

B.
MemoryStream

C.
PerformanceCounter

D.
DiagnosticsConfigurationHandler



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Bôda

Bôda

Is this correct?

Xin Zhao

Xin Zhao

dunno. Other dumps are also identifying the PerformanceCounter option as correct.