C Sharp Check Type Of Data