i have an object that is something like this with a full namespace.
MyDomainModel.Model.Application
i want to do something like this in a generic function so that it will just display "Application" (without the rest of the namepace
I need to do this in a function that passes in a generic so i tried to do this:
typeof(T).ToString()
but that didn't work. any thoughts?