This content originally appeared on DEV Community and was authored by Абдумомин
EndsWith(); - bu belgilarni satirning oxiridagi qismini tekshiradi> Agar satr kerakli nelgilarni bilan tugasa, true qaytaradi, aks holda false qaytaradi
string text = "Salom Dunyo";
bool result = text.EndsWith("dunyo");
Console.WriteLine(result);
Bu misolda, text.EndsWith("dunyo") so'zi "dunyo" bilan tugaydi, shuning uchun true qaytaradi.
This content originally appeared on DEV Community and was authored by Абдумомин
Абдумомин | Sciencx (2025-02-01T04:55:43+00:00) EndsWith();. Retrieved from https://www.scien.cx/2025/02/01/endswith/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.