Skip to content
InfinityKnow

InfinityKnow

Infinity Knowledge (IK) : Technology, Articles, Topics, Facts or many More.

  • Home
  • Education
    • yttags
    • Make Money
    • Jobs
    • Programming
      • Technology
      • Web Design
      • WEB HOSTING
      • Interview
  • Entertainment
    • pakainfo
    • Sports
    • Tips and Tricks
      • Law
      • Photography
      • Travel
  • Health
    • Insurance
    • Lifestyle
      • Clothing
      • Fashion
      • Food
  • News
    • Insurance
      • Auto Car Insurance
      • Business Insurance
    • Donate
    • California
  • News
    • Political
  • Home Improvement
  • Trading
    • Marketing
    • Top Tranding
    • Business
    • Real Estate
  • Full Form
  • Contact Us
  • Client side pagination in ng-repeat using Angularjs
    Client side pagination in ng-repeat using Angularjs Technology
  • wordpress INSERT Multiple Rows using $wpdb PHP
  • Caravans manufacturers & suppliers Tips and Tricks
  • AngularJS Multiselect Dropdown List using PHP MySQLi
    AngularJS Multiselect Dropdown List using PHP MySQLi Technology
  • Vuejs interview questions and answers - Vuejs Interview – Vuejs Top 10 Interview Qyestions
    Vuejs interview questions and answers | Vuejs Interview – Vuejs Top 10 Interview Qyestions Technology
  • PHP Laravel Get base url Examples
    PHP Laravel Get base url Examples Technology
  • AngularJS File Upload using PHP Steps
    AngularJS File Upload using PHP Steps Technology
  • Buy Facebook Likes and Followers free website List
    Buy Facebook Likes and Followers free website List Make Money

C# Palindrome program Tutorial with Examples

Posted on July 28, 2019 By admin No Comments on C# Palindrome program Tutorial with Examples

C# Palindrome program Tutorial with Examples

Today, We want to share with you .
In this post we will show you Palindrome program in C#, hear for palindrome program in c# without using string functions we will give you demo and example for implement.
In this post, we will learn about Program to Check Whether a String Palindrome is or not with an example.

Palindrome program in C#

In this post, we will learn about Palindrome program in C# with an example.

Now in this post, I will explain Palindrome program in C# with appropriate example. A palindrome number is a number that is same after reverse of it. For example 121, 38583, 303, 121, 48984, are the palindrome numbers.

READ :  How to Get Data From mysql using VueJs and PHP

Palindrome number steps:

  • Get(Read) the number from user
  • Store the number in temporary variable
  • Reverse the number
  • Compare the temporary number with reversed number
  • If both the numbers are same, print the message palindrome number
  • Else print the message not palindrome number

Now create Console Application in Visual Studio and write below lines of code in it.

[php]
using System;

namespace InfinityKnow
{
class Program
{
static void Main(string[] args)
{
// Program to check whether the given number is paligdrom or not

int number, r, sum = 0, temp;
Console.Write(“Enter the Number to check Palindrome: “);
number = int.Parse(Console.ReadLine());
temp = number;
while (number > 0)
{
r = number % 10;
sum = (sum * 10) + r;
number = number / 10;
}
if (temp == sum)
Console.Write(“Number is Palindrome.”);
else
Console.Write(“Number is not Palindrome”);

READ :  how to get last inserted id in laravel 6?

Console.ReadKey(); // To hold the console screen.
}
}
}
[/php]

Read :

  • Technology
  • Google Adsense
  • Articles

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about palindrome in c# using recursion.
I would like to have feedback on my Infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Related posts:

  1. C# reverse number Program Tutorial with Examples
  2. Vuejs Simple Navigation Menu vue router-link params
  3. C# Factorial program Tutorial with Examples
  4. C# Prime Number Program Tutorial with Examples
Technology, Asp.Net Tags:armstrong number program in c#, c# program for factorial, palindrome in c# using recursion, palindrome program in c# windows application, palindrome program in c# without using string functions, palindrome string program in c#, prime number program in c#, reverse string program in c#

Post navigation

Previous Post: Angularjs Inline Edit example – AngularJs update and save table Row Examples
Next Post: AngularJS Introduction Tutorial

Related Posts

  • Angular ng controller directive Example Technology
  • Laravel Eloquent Relationships Tutorial From Scratch
    Laravel Eloquent Relationships Tutorial From Scratch Technology
  • Create Custom Dynamic Wordpress Theme Development Tutorial
    Create Custom Dynamic WordPress Theme Development Tutorial Technology
  • Top 10 Best Angular Examples with Demo Technology
  • Vuejs Http Get Method with parameters – Vue-Resource Get Request
    Vuejs Http Get Method with parameters – Vue-Resource Get Request Technology
  • Angularjs scope vs rootScope objects Example
    Angularjs scope vs rootScope objects Example Technology

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Account web hosting (1)
  • AngularJs (277)
  • Articles (143)
  • Asp.Net (49)
  • Astrology (2)
  • Attorney (7)
  • Auto Car Insurance (4)
  • Biography (2)
  • Business (9)
  • Business Insurance (3)
  • California (4)
  • Choose the web hosting (1)
  • Clothing (6)
  • cloud (8)
  • Cloud data storage (2)
  • Credit (1)
  • Dedicated hosting server web (1)
  • Dedicated server web hosting (1)
  • Dedicated web hosting (1)
  • Degree (11)
  • Design (9)
  • Differences shared hosting (1)
  • Donate (2)
  • Education (37)
  • Energy web hosting (1)
  • Entertainment (6)
  • Facts (12)
  • Fashion (3)
  • Finance (3)
  • Food (5)
  • full form (90)
  • Google Adsense (22)
  • Health (21)
  • Home Improvement (5)
  • Insurance (7)
  • Interview (2)
  • Jobs (6)
  • jquery (2)
  • jQuery (2)
  • Laravel (164)
  • Lawyer (4)
  • Lifestyle (6)
  • Loans (6)
  • Make Money (31)
  • Managed dedicated server (1)
  • Managed hosting solution (1)
  • Managed servers (1)
  • Marketing (8)
  • Mortgage (2)
  • Movies (21)
  • MySQL (180)
  • News (5)
  • Photography (1)
  • PHP (250)
  • Programming (18)
  • Quotes (75)
  • Real Estate (2)
  • SEO (9)
  • Shared web hosting (1)
  • Shayari (67)
  • Sports (5)
  • Status (34)
  • Stories (45)
  • suvichar (8)
  • Tech (3)
  • Technology (675)
  • Tips and Tricks (43)
  • Top Tranding (36)
  • Trading (28)
  • Travel (12)
  • Uncategorized (8)
  • VueJs (179)
  • Web Design (2)
  • WEB HOSTING (1)
  • Web hosting company (1)
  • Web hosting really (1)
  • Web hosting windows (1)
  • Which website hosting (1)
  • Wishes (13)
  • wordpress (15)

Categories

AngularJs (277) Articles (143) Asp.Net (49) Attorney (7) Business (9) Clothing (6) cloud (8) Degree (11) Design (9) Education (37) Entertainment (6) Facts (12) Food (5) full form (90) Google Adsense (22) Health (21) Home Improvement (5) Insurance (7) Jobs (6) Laravel (164) Lifestyle (6) Loans (6) Make Money (31) Marketing (8) Movies (21) MySQL (180) News (5) PHP (250) Programming (18) Quotes (75) SEO (9) Shayari (67) Sports (5) Status (34) Stories (45) suvichar (8) Technology (675) Tips and Tricks (43) Top Tranding (36) Trading (28) Travel (12) Uncategorized (8) VueJs (179) Wishes (13) wordpress (15)
  • trees
    Protect Trees from Adverse Diseases And keep Them Healthy Always Education
  • Angular Nested ng repeat Example with Demo Technology
  • AngularJS AutoComplete Search Dynamic Data using Web API
    AngularJS AutoComplete Search Dynamic Data using Web API Technology
  • Auto Post Tweets on Twitter via API Using PHP
    Auto Post Tweets on Twitter via API Using PHP SEO
  • Angularjs Multiple images slider items - carousel multiple
    Angularjs Multiple images slider items – carousel multiple Technology
  • AngularJS Controllers Inheritance – angular inherits Example
    AngularJS Controllers Inheritance – angular inherits Example Technology
  • Angularjs Expand and Collapse Animation directive
    Angularjs Expand and Collapse Animation directive Technology
  • PHP Laravel Get current url Example
    PHP Laravel Get current url Example Technology

Copyright © 2022 InfinityKnow.

Powered by PressBook News WordPress theme