---
title: "add two number"  
description: "add two number"  
author: "Anonymous User"  
published: 2012-12-03  
updated: 2012-12-04  
canonical: https://www.mindstick.com/forum/480/add-two-number  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# add two number

Hi,\
Please [resolve](https://www.mindstick.com/forum/159427/windows-app-dll-not-found-resolve-library-issue) my [problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic)!\
How to [add two](https://answers.mindstick.com/qa/36185/how-to-add-two-no-in-assembly-language) number without using any [variables](https://www.mindstick.com/articles/715/php-variables) in .NET(C#, [Console](https://www.mindstick.com/blog/210/the-console-class) )?

## Replies

### Reply by Vijay Shukla

Hii Ashish Thats your solution.\

```
using System;class A{   public static void Main(String []args)   {       Console.WriteLine(Convert.ToInt32(Console.ReadLine())+Convert.ToInt32(Console.ReadLine()));   }}
```


---

Original Source: https://www.mindstick.com/forum/480/add-two-number

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
