?? ????? ????? ??? ???? ??? ????. ???? ??? ?? ??? ?? ????? ????? ?????. ?? ????? ???? ??? ????? ???? ??? ??? ????. ?? ???? ? ??? ??? ?? ?? ???? ?? ?? ????. ??? ?? ???? ????. ?? C#? ?? ????? ??? ??? ????, ??? ?? ????? ???? ???? ??? ???? ? ????.
??? ??? ??? ????? ???? ?????. ???? ?? ??? ???? ?????.
?: 1234321 => ? ??? ???? ?? ?? ??? ????.
? ?? ?? 565,757, 99899, ??52125 ????.
?? ??? ?? ??? ???????.
?? 434? ??? ??? ?????.
?? ???? 434? ????.
??? ?? ???? ?? ??? ???? ??? ?? ??? ?? ??? ????.
?: 214 + 412 = 626 (626? ????? ?????.)
?, ??? ?? ?? ???? ??? ??? ??? ?? ???.
??? ??? ??? ???? ?? ??? ????. ???? C#?? ????????.
C# Palindrome? ??
??? ??? ??? ??? ??? ??? ??? ????, ??? ??? ???? ????? ??? ?? ??? ??? ?????.
???? ??? ?? ???? ??? ???? ?? ????? ?? ?? ?????. ??? ??? ?? ?? ?? ??? ? ????.
??:
using System; public class IsPalindrome { public static void Main(string[] args) { int no,total=0,t,rev; Console.Write("Please provide the no: "); no = int.Parse(Console.ReadLine()); t=no; while(no>0) { rev=no%10; total=(total*10)+rev; no=no/10; } if(t==total) Console.Write("The given number is Palindrome."); else Console.Write("The given number is not Palindrome"); } }
??:
????? ?? ??? ????? ???? ??
?? no? ???? no? ???? ???? ?????.
? ??????? ?????? ??? ?????. ??? ?? ?? ??? ?? ?? ??? ??? ??????. while ??? ???? no? ???? ??? no? ??????.
???? ??? no? ??? ??? no? ???? ?? no? ?????. ???? 212? ??????. ??? ??? ??? ?? ??? ?????.
??? ??? ???? C#?? Palindrome? ???? ??? ??????
????? ??? ??? ??????. ??? ????? ?? ??? ? ??? ????????. ???? ?? ???? ?? ??? ?? ??? ?? ???.
?? #1 – ??
? ???? ???? ??? ???? ?? ???? ?? ? ????.
??????? ??? ?? ? ????.
??:
using System; public class Palindrome { public static void Main(string[] args) { string inputStr, r; inputStr = "Madam"; char[] letter = inputStr.ToCharArray(); Array.Reverse(letter); r = new string(letter); bool bool1 = inputStr.Equals(r, StringComparison.OrdinalIgnoreCase); if (bool1 == true) { Console.WriteLine("This string " + inputStr + " is a Palindrome!"); } else { Console.WriteLine("This string " + inputStr + " is not a Palindrome!"); } Console.ReadLine(); } }
??:
?? ? ????? ?? ???? ?????. ??? ??? ??? ? ?.
??? ??? "Madam"??? ??? ??? ??????. ?? ?? ?? ???? ?? ??? ??????. ToCharArray() ???? ???? ?? ??? ??????. ?? ??? ??? ? ?? ??? reverse ???? ???? ????? ??????. ?? ?? Equals() ???? ???? ??? ???? ??? ???? ?? ??????. ??? ? ???? ??? Boolean ??? bool1??? ??? ??????.
?? ????? if-else ??? ???? bool1 ??? true ?? false?? ??????. ?? ??????? if ??? ?????. ??? ??? "??? Madam? ?????."???.
??? ??? ?? ??? ??? ????.
??? ?? ? ????. ??? ?? ??? ??? ??? ??? ???? ??? ????? ???? ? ?? ?? ??? ????.
??? ?? ? ??? ?? ??? ??? ??? ????.
??#2 – ?? ? ?? ??????, ???????
? ??? ??? ?? ? ?? ??? ????.
?? ???????. ?? ??? ??????.
??:
using System; public class Palindrome { public static bool IsPalindrome(string value) { int x = 0; int y = value.Length - 1; while (true) { if (x > y) { return true; } char i = value[x]; char j = value[y]; // Scan forward for a while invalid. while (!char.IsLetterOrDigit(i)) { x++; if (x > y) { return true; } i = value[x]; } while (!char.IsLetterOrDigit(j)) { y--; if (x > y) { return true; } j = value[y]; } if (char.ToLower(i) != char.ToLower(j)) { return false; } x++; y--; } } public static void Main() { string[] ary = { "Was it a car or a cat I saw?" }; foreach (string value in ary) { Console.WriteLine("{0} = {1}", value, IsPalindrome(value)); } } }
??:
??? ??? ???? ?? ?? ??? ?????. ???? ?? ??? ????.
? ??????? ??? ??? ?????. ?? ?? ???? ??? ??? ??? ???? ??????. ?? ???? ? ????? ??? ???. ???? ? ????? ?? ??? ??? ? ????.
??
???? ?? ??? ????. ??? ????? ??? ??? ?? ?????. ? ??? ??? ??? ?? ??? ??? ? ?????
? ??? C#? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











C#? ?? ??? ??????. ???? ?? ???? ?? ??, ?? ?? ? ?? ??? ??? ?? ?????.

?? ???? ????? ???? ?? ???? ??? ?? ???? ???? ??, ?? ???? ???? ?? ?????? ??? ????? ????. ?? ???? ??? ??? ? ??? ???? ????? ??? ?? ??? ?????. ?? ???? ??? ??? ??? ????? ???? ???? ??? UI ???? ???? ?? ????. ?? ??? ?? ????? ???? ?? ??? ??? ?? ????. ?? ??? ??? ?? ???? ???? ?? ???? ?? ???? UI ?? ?? ?????? ?? ???? ??? ?????.

C#? C? ??? ??? ???? ??? ??? ????. 1.C? 1983 ? Bjarnestroustrup? ?? ???? ?? ?? ?????? C ??? ??????. Evolution ?????? ?? ??? ?? ? Lambda Expressions ?? C 11, C 20 ?? ?? ? ? ??? ?? ?? ???? ???? ?? ?? ? ??? ?? ?????? ??? ? ????. 2.C#? 2000 ? Microsoft? ?? ?????? C? Java? ??? ???? ??? ???? ???? ??? ???. ?? ??, C#2.0? ???? C#5.0 ?? ? ??? ?????? ?????, ?? ?? ???? ??? ? ???? ???? ??? ? ????.

XML ??? ???? ???? ?? ??? ????. Notepad? ?? ??? ???? ???? ??; XMLBeautifier? ?? ??? ?? ???? XML ?? ??? ?? ??; XSLT? ?? XML ?? ??? ???? ?? ??? ?????. ?? Python? ?? ????? ??? ???? ?? ???? ?????. ?? ??? ???? ?? ? ???????.

C#? Palindrome ??????. ???? C#? ?? ?? ?? ??? ??? ??? ?? ??? ??? ?? ?????.
