Commit 809a9332 authored by Trần Duy Truyền 's avatar Trần Duy Truyền

++

parent 89e3f14c
...@@ -14,7 +14,7 @@ namespace TrainingCSharp ...@@ -14,7 +14,7 @@ namespace TrainingCSharp
RethrowException.Run(); RethrowException.Run();
break; break;
case 2: case 2:
//Indexer TypeCasting.Run();
break; break;
default: default:
......
public class TypeCasting
{
public static void Run()
{
var a = new List<string>() { "2", "12", "3" };
var b = a.OrderByDescending(s => int.Parse(s)).ToList();
b.ForEach(e => System.Console.WriteLine(e));
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment