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 Machine.config?  Machine configuration file: The machine. config file have settings that apply to the entire computer. This file is located in the %runtime install path

Explain different types of XML Application Programming Interface (API). The following are two main parts of XML parsers: Tree-based API - Compiles an XML document into a tre

Explain why your project needed XML. Remember XML was meant to exchange data between the two entities as you can define your user friendly tags with ease. In the real world sce

Explain all parts of a deployment diagram. Package: - The package logically groups element of a UML model. Node: - The Node is as physical system which represents a

Project Description: I require a custom texture painting plug-in for the latest version of Unity 3D. The project can have features that are common in Photoshop and Mari for pain

What is strong-typing versus weak-typing? Which is preferred? Why? Strong type is checking the types of variables as soon as possible, usually at compile time. While weak typing

What is XML? Extensible markup language (XML) is all about describing the data. Below is a XML which describes an invoice data. Shoes   12 10

Finding Maximum & Minimum Numbers - C# Program I am facing some problems in the code for Finding Maximum & Minimum Numbers. Can anybody suggest me the proper code for it.

In which statement the LINQ query is executed? A LINQ query is executed in the For every statement in Visual Basic and in the for each statement in C#.

Develop Outlook Add-In for all versions I need simple code for Outlook(express,2003,2007,2010,2013) Add-In with functionality to repeatedly send CC to the specified email(s), th