You will find that type conversion can do amazing things. For example, the next line accesses a system log by converting the log name to an EventLog object:
[System.Diagnostics.EventLog]"System"
You will find that type conversion can do amazing things. For example, the next line accesses a system log by converting the log name to an EventLog object: