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 "Common Type System" (CTS)?  CTS define all of the basic types that can be used  in the .NET Framework and the operations performed on those type. All this time we have

What are indexes? The Indexes in the SQL Server are similar to the indexes in books. They help SQL Server to retrieve the data quickly.These are classified into clustered and n

Project Description: Step 1: Buy 1 share at existing market price (ex: buy 1 at 100.00) If 4 points profit then close position if not go to step 2 Step 2: if 2 point

What is the difference between delegate and events? Actually events use delegates in the bottom. But they also add an extra layer on the delegates, hence forming the publisher

Prepare .NET TWAIN application to control digital imaging sensor Project Description: We are seeking somebody to create a .NET TWAIN application which will activate a digital

Briefly explain the characteristics of value-type variables that are supported in the C# programming language. The variables that are based on value types directly contain valu

Prevent .NET DLL to be decompiled By design phase .NET embeds rich Metadata inside the executable code using the MSIL. Anyone can easily  decompile DLL back using tools such as

What are the advantages of DLR? The various advantages provided by DLR are: Permits you to easily execute the dynamic languages to the .NET Framework. Gives dynamic featu

Explain the DataAdapter.Update() and DataSetAcceptChanges() methods. The DataAdapter.Update() method calls any of the DML statements, like UPDATE, INSERT, or DELETE statements,

why datagrid are used in dot net programming langugage