Enum’s numeric values



Without any loop statements or pipelines, get the numeric values of an Enum (such as IO.FileAttributes) in 1 statement.

Click the icons below for answer and explanation.


Winner: James Brundage

Filed in: Brainteasers Tags: 
© 2018 PowerShell Magazine. All rights reserved. XHTML / CSS Valid.
Proudly designed by Theme Junkie.
%d bloggers like this: