Using SecureString

前端 未结 8 815
醉梦人生
醉梦人生 2020-12-24 00:56

Can this be simplified to a one liner? Feel free to completely rewrite it as long as secureString gets initialized properly.

SecureString secureString = new          


        
8条回答
  •  时光说笑
    2020-12-24 01:44

    least amount of code because .ToList() is not required for this:

    Array.ForEach("fizzbuzz".ToCharArray(), secureString.AppendChar);
    

提交回复
热议问题