Console Class System Microsoft Docs

Console Class (System) | Microsoft Docs.

Console class members that work normally when the underlying stream is directed to a console might throw an exception if the stream is redirected, for example, to a file. Program your application to catch System.IO.IOException exceptions if you redirect a standard stream. You can also use the IsOutputRedirected, IsInputRedirected, and IsErrorRedirected properties to ....

https://docs.microsoft.com/en-us/dotnet/api/system.console.

ExpandoObject Class (System.Dynamic) | Microsoft Docs.

Remarks. The ExpandoObject class enables you to add and delete members of its instances at run time and also to set and get values of these members. This class supports dynamic binding, which enables you to use standard syntax like sampleObject.sampleMember instead of more complex syntax like sampleObject.GetAttribute("sampleMember").. The ExpandoObject class ....

https://docs.microsoft.com/en-us/dotnet/api/system.dynamic.expandoobject.

Console.Clear Method (System) | Microsoft Docs.

Examples. The following example uses the Clear method to clear the console before it executes a loop, prompts the user to select a foreground and background color and to enter a string to display. If the user chooses not to exit the program, the console's original foreground and background colors are restored and the Clear method is called again before re-executing the ....

https://docs.microsoft.com/en-us/dotnet/api/system.console.clear.

Version Class (System) | Microsoft Docs.

Examples. The following example uses the AssemblyVersionAttribute attribute to assign a version number to an assembly. At compile time, this version information is stored with the assembly's metadata. At run time, the example retrieves the value of the Type.Assembly property on a type found in the assembly to get a reference to the executing assembly, and it retrieves the ....

https://docs.microsoft.com/en-us/dotnet/api/system.version.