Technology Guruu

  • Home
  • Site Info
    • About Us
    • Disclaimer
    • Privacy Polacy
  • Home
  • Digital Marketing
    • SEO
    • SMM
    • SEM
  • Quotes
  • Technical
  • Java
  • .Net
    • C#.Net
    • ASP.Net
  • Keychains

Monday, 4 April 2016

Logical Programs in C#.net

 Akansha     11:00:00     TechnicalQuestions     No comments   

.Net is a frame work it is a software in this we are execute 64+ languages like C#.net,vb.net,Asp.net etc.Now a days every company develop projects through ms.net.So,The top MNC companies concentrate only on ms.net and in the interview purpose asking more on ms.net.so we definitely know the ms.net so we are placed what are the frequently asked questions and impressed answers.Friends don't blindly follow the answers for questions first know the topic after that you are ready/prepare your answers for the questions and perform that answers in every interview.First i tension i understand the topic but i can't perform interview what i prepare, i think one day why i lose my interview i know the all answers on that day i find out the reason because i am not saying my answer in my proper understand manner.After that i am not repeated that mistake now i get the good job.So friends so many also having these problem so you want full description about any topic you are seen previous articles and you want questions follow this article.All the best for your Interview.
Logical Programs In C#.Net
programs
programs in C#.net
1.write a program to display message in c#.net Welcome to RathnaReddy blog?
    using system;
    class welcome
 {
 static void main()
 {
 console.WriteLine("welcome to RathnaReddy blog");
 }
 }
2.write a program to accept the student name from the command prompt and display a message?
 using system;
class studentDemo
{
static void main()
{
String sname;
console.ReadLine(sname);
console.WriteLine("welcome"+sname);
}
}
3.write a program to accept two numbers from the user and perform addition,subtraction,multiplication and division?
 using system;
class Perform
{
static void main()
{
console.WriteLine("enter the number");
int a=int.parse(console.ReadLine());
int b=int.parse(console.ReadLine());
console.WriteLine("the addition is"+(a+b));
console.WriteLine("the subtraction is "+(a-b));
console.WriteLine("the multiplication is"+(a*b));
console.WriteLine("the division is"+(a/b));
}
}
4.write a program to accept double value from command prompt and convert the double value to string and print string value?
using system;
class Conversion
{
static void main()
{
console.WriteLine("enter a value");
double d=int.parse(console.ReadLine());
String s=console.WriteLine(d);
console.WriteLine("the converted double value is"+s);
}
}
5.write a program to input two numbers and interchange those values without using 3rd variable?
 using system;
class Perform
{
static void main()
{
console.WriteLine("enter the numbers");
int a=int.parse(console.ReadLine());
int b=int.parse(console.ReadLine());
console.WriteLine("the interchange values are"+b+"is"+a)'
}
}
Friends you like my post please share to your friends through Facebook,Twitter,Google+ etc
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Popular Posts

  • Missing My Friend Quotes : Friendship Day Quotes 2017
    Friends today my article about missing friends and moments with them. Here you are seen the best friendship quotes and some  feelings when...
  • Love Failure Quotes and Sad valentines day Quotes
    We Love Someone is a easy process sometime takes long time to love someone love others within short period but anyway always love dependin...
  • Brief description about Delegates
    Introduction about delegates and why delegates are came the main purpose of delegates how to useful and what are the advantages and disadv...
  • Na Tanu Samjhawan Ki Song lyrics
    Na Tanu Samjhawan Ki Song Lyrics With English Translation Movie : Humpty Sharma ki Dulhaniya Song : Samjhawan Song Singer : Arijit ...
  • Detail Introduction about C#.Net
    Brief Introduction about C#.Net  Introduction C#.Net is the one of the Programming Language the .Net Framework also contains ano...
  • Wonderful sayings about Life.
    I Believe Follow  Things(Life Quotes) I Believe I believe: ********** Believe in Life ********** That we don't have to chan...
  • Brief Description about Multicast Delegate
    Multicast delegate is an extension of normal delegate. It helps you to point more than one method at a single moment of time. Multicast ...
  • Brief description about properties
    Properties in C#.Net Properties Property is a member of a class which we will use to assign the value to a variable as well as whi...
  • Top 10 valentine's day Quotes and Greetings wishes
    All Lovers have Anxiety in Valentines day because it is a festival to all lovers in these they enjoy a lot and celebrate the Valentine...
  • Valentines day poems and wishes or Quotes
    A friendship that like love is warm; A love like friendship, steady.we are having the most difference between love and Friendship you mus...

Categories

  • Entertainment (67)
  • TechnicalQuestions (58)
  • Quotes (11)
  • C#.Net (8)
  • Java (8)
  • ValentinesDay (4)
  • SEO (3)
  • Home
  • About Us
  • Disclaimer
  • Privacy Policy
  • Sitemap

Copyright © 2015-2017 Good Friends 5.All Rights Reserved• And Our Sitemap • All Logos and Trademark Belongs To Their Respective Owners•