using IdType = System.Guid;
using RowType = System.Tuple<System.Guid, object>;
namespace WindowsFormsApplication1
{
public void Test()
{
var guideq = typeof(IdType).Equals(typeof(System.Guid));
var typeeq=typeof(RowType).Equals(typeof(System.Tuple<System.Guid,
object>));
System.Tuple<System.Guid, object> obj = new RowType(IdType.NewGuid(), "");
}
IdType and System.Guid - this is the same type.
System.Tuple<System.Guid, object>and RowTypehave the same type. In this situation, it just works like an alias. Therefore, we need to use any place.
In the code, I test these two types for equality and that it is true; because it is an alias for the same type.
() ,
. , .