C# da bir xil funktsiyalarni amalga oshirish uchun misol: System; System.IO; System.Linq; System.Windows.Forms; nomlar maydoni bilan ImageRenamer { public partial class Form1 : Form { public Form1() { InitializeComponent(); } csharp Copy code private void btnSubmit_Click{object sender, EventArgs e) { string directoryPath = txtDirectoryPath.Text; if (!string.IsNullOrEmpty{directoryPath)) { RenameImageFiles{directoryPath); } else { MessageBox.Show"{((((((((((((((((((((((((((((((((((((((((((((((((