Trial #11: Does C# have something like php’s isset()?
Problem:
I’ve been making a dogs ear of an if statement in PowerShell but what I need is an isset like method.
Solution:
Enter .Net static method [string]::IsNullOrEmpty()
Pitfalls
- This is just a rare good thing
Leave a comment