-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
C# 6 and .NET Core 1.0
mscorlib.dll assembly?No. Although by default every assembly will have an automatic reference to the mscorlib.dll assembly, there is a compiler flag that can prevent this. For details, visit:
string variable?The maximum size of a string variable is 2 GB or about 1 billion characters because each char variable uses 2 bytes due to the internal use of Unicode (UTF-16) encoding for characters.
SecureString type?The string type leaves text data in memory for too long and it's too visible. The SecureString type encrypts the text and ensures that the memory is released immediately. WPF's PasswordBox control stores the password as a SecureString variable, and when starting a new process, the Password parameter must be a SecureString variable...
Change the font size
Change margin width
Change background colour