Xamarin PCL – How to URL Encode since there is no HttpUtility

Looking for the HTTPUtility class? Ha, you don’t get it. PCL doesn’t have it. Fret not, though, you can still URL Encode. It’s easy, just in a different spot. How to URLEncode in Xamarin Forms PCL var encodedData = System.Net.WebUtility.UrlEncode(stuffToEncode); Now you know, and now hopefully I will remember! Happy coding!