I m trying to port a a Java app to C# and have two questions.
i) In Java there is a java.util.Logging package that can be used to log
at different levels. Is there an equivalent in C# ?
2) There is a Runtime.getRuntime.availableProcessors() method that
returns the number of available processors to the process.
How do I do that in C# ? I think I have to use a Win32 unmanaged API
call and can do that - but need some pointers on where I can find this info.
Thanks
/s