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
Question : (a) Describe what are streams in file handling and explain what should be done when accessing data in an existing file. (b) For what purpose are StreamReader an

What are function points? The FPA is breaking huge systems into smaller pieces and analyzing them. The Software application is a combination of set of elementary processes. The

I need a project which shows Paypal integration with ASP.net website We have events website written in C# and ASP.net. We want to integrate Paypal using API and have a full inte

What are code contracts? Code contracts help you to state the code assumptions and statements stating the behavior of your code in a language-neutral way. The contracts are con

Project Description: We require an expert developer to work on several projects for our company. You will be managed by our senior developer. Required - MUST be proficient in

I need a Web Application UI Modernization - Preliminary Technology Assessment We are seeking to overhaul a 10-year old enterprise application, CRM-related as well as web-based t

What is the role of the DataSet object in ADO.NET? One of the major components of ADO.NET is the DataSet object, which always remains disconnected from the database and decreas

I need a Windows SharePoint Services or Similar Solution My company desires a reliable way of managing the documents online for each of its clients. The solution would want t

What are the naming conventions required for XML elements tags? The following are the naming conventions that need to be followed for XML elements tags: Element names should

As you have probably realized by now, Web pages are much more useful when they are dynamic. In Internet terminology, the word dynamic means several things. Primarily, it refers to