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
wiConstellation WEB site Project Description: Creation of a dynamic corporate WEB site with administration panel, requirement collaboration, product definition, Q&A, user man

What is the role of the JIT compiler in .NET Framework? The JIT compiler is an significant element of CLR, which loads MSIL on target machines for execution. The MSIL is stored

What is impersonation in ASP.NET? By default, the ASP.NET executes in the security context of a restricted user account on the local machine. Sometimes you require to access ne

Project Description: The website should be CMS based; coding done only on ASP, MySql databases, .net script, aspx and java use with least of the flash work. We will be sharing j

What is the difference among a toolstrip drop-down button and a toolstrip split button? The difference among a toolstrip drop-down button and a toolstrip split button is that a

Human Aimbot and CSGO Wallhack Need a CSGO hack which can Aimbot and wallhack realistically. Must be VAC Proof, and ESL proof, as well as Overwatch proof (in teh case of thei

I need Kinect Developer c++ We are creating a fitting room with Kinnect and I need some questions answered like how to detect if a person turns around, how to make the clothing

What is the difference between VB6 and VB.Net? VB6 1.       It is Object-based Language 2.       It Does not support Threading 3.       Not powerful Exception handli

What are the ways of parsing XML document? The XML parser sits in between the XML document and the application who want to use the XML document. The Parser exposes a set of wel

CTS(Common Type System) : In order that the two language communicate smoothly CLR has CTS (Common Type System). Example in VB you have "Integer" and in C++ you have "long" these d