check if drive exists c# code example Example: check if drive exists c# DriveInfo.GetDrives().Any(d => d.Name.ToUpper()[0] == 'E');