2012-10-24 64 views

回答

0

爲什麼你想要一個編碼的字符串,當你可以打印出實際的字符串描述?

FileSystemRights Rights = 0; 

Rights |= FileSystemRights.CreateFiles; 
Rights |= FileSystemRights.ExecuteFile; 

Console.WriteLine(Rights.ToString()); 

// Prints: CreateFiles, ExecuteFile