I need to get a string with 8 '*' characters. How can I do this in .NET 3.5? .NET 4.0?
Thank.
Try:
string str = new string('*', 8);
My own quick workaround:
"".PadLeft(Password.Length,'*')
:)
But I think this should be the best solution.
Source: https://habr.com/ru/post/1782453/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1782448/add-items-to-git-index-efficiently&usg=ALkJrhgPqL4EIIADeTFbYAXDkLaY9FKdqgНужна помощь с двумя запросами MySql. Присоединиться к подзапросам - mysqlHow to protect proprietary software in a corporate environment? - installerCreating a JOGL window using NEWT - examples? - javaSet EntityCollection to Linq - linqHibernate Panel Cascade Remove Collection - javaC ++ on Windows: using DirectInput without a window? - c ++global external lightening - c ++Multi-line text in SWT / WindowBuilder? - javaOracle global_names DELETE problem - sqlAll Articles