public void TestUri() { string data = "BZ+24 123"; string uriData = Uri.EscapeDataString(data); Assert.AreEqual("BZ%2B24%20123", uriData); } }