C# Listlt; stringgt; Uso de Ordenar para ordenar libros desordenados
clase?Comp?:?Comparerlt; stringgt;
{
public?override?int?Compare(string?x,?string?y)
{
return?int.Parse(x.Substring(2))?-?int.Parse(x.Substring(2));
}
}
clase?Comp?:?Comparerlt; stringgt;
{
public?override?int?Compare(string?x,?string?y)
{
return?int.Parse(x.Substring(2))?-?int.Parse(x.Substring(2));
}
}