I want to allow a user to enter a file size, using any of the standard suffixes (such as TB, MB, GB)

I'd like to get the value in a way that i can compare them to a folder size.

The idea is to have a program that'll warn if a folder gets above a certain size, with the size dictated by a user-inputted string.

Is there anything built into the .net framework that allows me to parse strings such as `1.5TB`, `400GB`, `1.9GB` and `0.5KB` ?