string a = Guid.NewGuid().ToString();
MessageBox.Show(a.ToString()); Rast gele id üretmek için kullanılır.