﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ConsoleKeyInfo" FullName="System.ConsoleKeyInfo"><TypeSignature Language="C#" Value="public struct ConsoleKeyInfo" /><TypeSignature Language="ILAsm" Value=".class public sequential ansi serializable sealed beforefieldinit ConsoleKeyInfo extends System.ValueType" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.ValueType</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.ConsoleKeyInfo" /> type is not intended to be created by users. Instead, it is returned to the user in response to calling the <see cref="M:System.Console.ReadKey" /> method.</para><para>The <see cref="T:System.ConsoleKeyInfo" /> object describes the <see cref="T:System.ConsoleKey" /> constant and Unicode character, if any, that correspond to the pressed console key. The <see cref="T:System.ConsoleKeyInfo" /> object also describes, in a bitwise combination of <see cref="T:System.ConsoleModifiers" /> values, whether one or more SHIFT, ALT, or CTRL modifier keys was pressed simultaneously with the console key.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Describes the console key that was pressed, including the character represented by the console key and the state of the SHIFT, ALT, and CTRL modifier keys.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ConsoleKeyInfo (char keyChar, ConsoleKey key, bool shift, bool alt, bool control);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(char keyChar, valuetype System.ConsoleKey key, bool shift, bool alt, bool control) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="keyChar" Type="System.Char" /><Parameter Name="key" Type="System.ConsoleKey" /><Parameter Name="shift" Type="System.Boolean" /><Parameter Name="alt" Type="System.Boolean" /><Parameter Name="control" Type="System.Boolean" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This type is not intended to be created by users. Instead, it is returned to the user in response to calling the <see cref="M:System.Console.ReadKey" /> method.</para><para>The <see cref="T:System.ConsoleKeyInfo" /> type does not specify whether the left or right SHIFT, ALT, or CTRL modifier key was pressed.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.ConsoleKeyInfo" /> structure using the specified character, console key, and modifier keys.</para></summary><param name="keyChar"><attribution license="cc4" from="Microsoft" modified="false" />The Unicode character that corresponds to the <paramref name="key" /> parameter. </param><param name="key"><attribution license="cc4" from="Microsoft" modified="false" />The console key that corresponds to the <paramref name="keyChar" /> parameter. </param><param name="shift"><attribution license="cc4" from="Microsoft" modified="false" />true to indicate that a SHIFT key was pressed; otherwise, false. </param><param name="alt"><attribution license="cc4" from="Microsoft" modified="false" />true to indicate that an ALT key was pressed; otherwise, false. </param><param name="control"><attribution license="cc4" from="Microsoft" modified="false" />true to indicate that a CTRL key was pressed; otherwise, false. </param></Docs></Member><Member MemberName="Equals"><MemberSignature Language="C#" Value="public bool Equals (ConsoleKeyInfo obj);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Equals(valuetype System.ConsoleKeyInfo obj) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="obj" Type="System.ConsoleKeyInfo" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Two <see cref="T:System.ConsoleKeyInfo" /> objects are equal if their corresponding <see cref="P:System.ConsoleKeyInfo.KeyChar" />, <see cref="P:System.ConsoleKeyInfo.Key" />, and <see cref="P:System.ConsoleKeyInfo.Modifiers" /> properties are equal.</para><para>The <see cref="M:System.ConsoleKeyInfo.Equals(System.ConsoleKeyInfo)" /> method performs slightly better than the <see cref="M:System.ConsoleKeyInfo.Equals(System.Object)" /> method because it does not have to convert <paramref name="obj" /> to an object.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether the specified <see cref="T:System.ConsoleKeyInfo" /> object is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if <paramref name="obj" /> is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object; otherwise, false.</para></returns><param name="obj"><attribution license="cc4" from="Microsoft" modified="false" />An object to compare to the current <see cref="T:System.ConsoleKeyInfo" /> object.</param></Docs></Member><Member MemberName="Equals"><MemberSignature Language="C#" Value="public override bool Equals (object value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Object" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Two <see cref="T:System.ConsoleKeyInfo" /> objects are equal if their corresponding <see cref="P:System.ConsoleKeyInfo.KeyChar" />, <see cref="P:System.ConsoleKeyInfo.Key" />, and <see cref="P:System.ConsoleKeyInfo.Modifiers" /> properties are equal.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether the specified object is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if <paramref name="value" /> is a <see cref="T:System.ConsoleKeyInfo" /> object and is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object; otherwise, false.</para></returns><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />An object to compare to the current <see cref="T:System.ConsoleKeyInfo" /> object.</param></Docs></Member><Member MemberName="GetHashCode"><MemberSignature Language="C#" Value="public override int GetHashCode ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The value returned by the <see cref="M:System.ConsoleKeyInfo.GetHashCode" /> method is not suitable for distinguishing one <see cref="T:System.ConsoleKeyInfo" /> object from another. If your application needs a unique hash code, override the <see cref="M:System.ConsoleKeyInfo.GetHashCode" /> method with your own method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the hash code for the current <see cref="T:System.ConsoleKeyInfo" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A 32-bit signed integer hash code.</para></returns></Docs></Member><Member MemberName="Key"><MemberSignature Language="C#" Value="public ConsoleKey Key { get; }" /><MemberSignature Language="ILAsm" Value=".property instance valuetype System.ConsoleKey Key" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ConsoleKey</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the console key represented by the current <see cref="T:System.ConsoleKeyInfo" /> object.</para></summary></Docs></Member><Member MemberName="KeyChar"><MemberSignature Language="C#" Value="public char KeyChar { get; }" /><MemberSignature Language="ILAsm" Value=".property instance char KeyChar" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Char</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If the key pressed does not map to a Unicode character (for example, if the user presses the <ui>F1</ui> key or the <ui>Home</ui> key), the value of the <see cref="P:System.ConsoleKeyInfo.KeyChar" /> property is \U0000.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the Unicode character represented by the current <see cref="T:System.ConsoleKeyInfo" /> object.</para></summary></Docs></Member><Member MemberName="Modifiers"><MemberSignature Language="C#" Value="public ConsoleModifiers Modifiers { get; }" /><MemberSignature Language="ILAsm" Value=".property instance valuetype System.ConsoleModifiers Modifiers" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ConsoleModifiers</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a bitwise combination of <see cref="T:System.ConsoleModifiers" /> values that specifies one or more modifier keys pressed simultaneously with the console key.</para></summary></Docs></Member><Member MemberName="op_Equality"><MemberSignature Language="C#" Value="public static bool op_Equality (ConsoleKeyInfo a, ConsoleKeyInfo b);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(valuetype System.ConsoleKeyInfo a, valuetype System.ConsoleKeyInfo b) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="a" Type="System.ConsoleKeyInfo" /><Parameter Name="b" Type="System.ConsoleKeyInfo" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Two <see cref="T:System.ConsoleKeyInfo" /> objects are equal if their corresponding <see cref="P:System.ConsoleKeyInfo.KeyChar" />, <see cref="P:System.ConsoleKeyInfo.Key" />, and <see cref="P:System.ConsoleKeyInfo.Modifiers" /> properties are equal.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Indicates whether the specified <see cref="T:System.ConsoleKeyInfo" /> objects are equal.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if <paramref name="a" /> is equal to <paramref name="b" />; otherwise, false.</para></returns><param name="a"><attribution license="cc4" from="Microsoft" modified="false" />The first object to compare.</param><param name="b"><attribution license="cc4" from="Microsoft" modified="false" />The second object to compare.</param></Docs></Member><Member MemberName="op_Inequality"><MemberSignature Language="C#" Value="public static bool op_Inequality (ConsoleKeyInfo a, ConsoleKeyInfo b);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(valuetype System.ConsoleKeyInfo a, valuetype System.ConsoleKeyInfo b) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="a" Type="System.ConsoleKeyInfo" /><Parameter Name="b" Type="System.ConsoleKeyInfo" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Two <see cref="T:System.ConsoleKeyInfo" /> objects are equal if their corresponding <see cref="P:System.ConsoleKeyInfo.KeyChar" />, <see cref="P:System.ConsoleKeyInfo.Key" />, and <see cref="P:System.ConsoleKeyInfo.Modifiers" /> properties are equal.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Indicates whether the specified <see cref="T:System.ConsoleKeyInfo" /> objects are not equal.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if <paramref name="a" /> is not equal to <paramref name="b" />; otherwise, false.</para></returns><param name="a"><attribution license="cc4" from="Microsoft" modified="false" />The first object to compare.</param><param name="b"><attribution license="cc4" from="Microsoft" modified="false" />The second object to compare.</param></Docs></Member></Members></Type>