Write a program of console statements - c# program, DOT NET Programming

Write a program of console statements - C# Program

I am unable to make out the use of console statements in C# language. Can anyone suggest me any example for this.

Posted Date: 2/11/2013 6:16:18 AM | Location : United States





This program will help you, try it out

program of Console statements

using System;  

class Demo 

  public static void Main() 

  { 

   int m = 100; 

   long n = 200; 

   long l = m + n; 

   Console.WriteLine("l = "+ l); 

   Console.ReadLine(); 

   // No error in the program. 

  } 

}

Posted by John | Posted Date: 2/11/2013 6:19:25 AM

Thanks dear, I have been looking for this, want to know more. Please upload some these types of examples more.

Posted by Stephen | Posted Date: 2/11/2013 6:22:00 AM


Related Discussions:- Write a program of console statements - c# program, Assignment Help, Ask Question on Write a program of console statements - c# program, Get Answer, Expert's Help, Write a program of console statements - c# program Discussions

Write discussion on Write a program of console statements - c# program
Your posts are moderated
Related Questions
What is a cloud? A cloud is a combination of hardware, storage, networks, services, and interfaces that helps in delivering computing as a service. It has generally three users

I need help in Web application that will run stand alone in IIS (MS SQL) 2 activities / Tasks Code web user management module (create user, assign license, simple authorizati

The Full form of CLR is Common Language Runtime and it is  the heart of the .NET framework. All Languages have its own runtime and its the responsibility of the runtime to take car

The ASP.NET provides two namespaces. The first is System.WEB.mailmessage class and the second is System.Web.Mail.Smtpmail class.

Project Description: System is used for tracking company's activities through several projects by keeping track of incomes and expenses per project. This project is fairly ea

How do we access view state value of the page in the next page? The View state is page specific; it contains information about controls embedded at the particular page. ASP.NET

sir, i just trapped in decryption.....wud u plz help me

What is Object Relational Designer? The 0/R Designer provides a visual design surface to make LINQ to SQL entity classes and associations (relationships) that are based on obje

Experienced Microsoft .NET web developer The developer must be reliable as well as most of all use best practices for coding as well as application design. a) .NET 3.5 (ideal

What are value types and reference types?  Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short, strut, uint, ulong, ushort. Value types are