It's difficult to be precise, wtihout knowing more about your application, and how you store your images, but assuming they are in a folder:
private Random rand = new Random();
private Image GetRandomImage( string myImageFolderPath )
{
string[] files = Directory.GetFiles(myImageFolderPath);
int i = rand.Next(files.Length);
return Image.FromFile(files[i]);
}