TP in c#