Skip to content

Instantly share code, notes, and snippets.

@PureKrome
Created November 5, 2014 23:12
Show Gist options
  • Save PureKrome/6fd50e45ae278fb5c274 to your computer and use it in GitHub Desktop.
Save PureKrome/6fd50e45ae278fb5c274 to your computer and use it in GitHub Desktop.
An EscapeDataString Test
using System;
namespace EscapeDataStringTest
{
internal class Program
{
private static void Main(string[] args)
{
const string data = "abcde *.(.).";
var result = Uri.EscapeDataString(data);
Console.WriteLine(result);
Console.ReadKey();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment