Gets or sets the fragment portion of the URI.
using System; public class MainClass{ public static void Main(){ UriBuilder uBuild = new UriBuilder("http://www.google.com/"); uBuild.Path = "index.htm"; uBuild.Fragment = "main"; Uri myUri = uBuild.Uri; } }