.net - Why are Console.In Console.Out & Console.Error Properties Read Only? -


Does anybody know that console.in, console.out and console.print properties are read only? One would probably assume that none of Microsoft had intended to replace them, but the consoles included in the console. SetIn (), Console.SetOut () and Console.SetError () methods.

A valid reason for this or just a fool's mistake?

Full estimate, but it can be because sets * Pass is applicable HostProtectionAttribute I do not know that you can apply a feature for the setter portion of an asset. This is definitely something I had never intended to do, and in reality it is visible to any property on HostProtectionAttribute .


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -