online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Online C# Compiler. Code, Compile, Run and Debug C# program online. Write your code in this editor and press "Run" button to execute it. *******************************************************************************/ using System; class HelloWorld { public static void test_BankAccount() { BankAccount bankAccount = new BankAccount("Ali", 12, 30.5); BankAccount bankAccount1 = new BankAccount("Waad", 105); Console.WriteLine("{" + bankAccount + "}"); Console.WriteLine(bankAccount1); Console.WriteLine("[ " + bankAccount1 + " ]"); //bankAccount.Amount = 1515.1; Console.WriteLine("----------------"); bankAccount.Print(); bankAccount1.Print(); } static void Main() { Console.WriteLine("Hello World"); test_BankAccount(); } }
using System; public class BankAccount { //صفات private string name; private int Number; private double Amount; //بناء public BankAccount(string name, int Number) { this.name = name; this.Number = Number; this.Amount = 0; } public BankAccount(string name, int Number, double Amount) { this.name = name; this.Amount = Amount; this.Number = Number; } //عمليات public void Print() { Console.WriteLine("Name:{0}",this.name); Console.WriteLine("Number:{0}", this.Number); Console.WriteLine("Amount:{0}", this.Amount); Console.WriteLine(); } public override string ToString() { return "BankAccount- " + "Name: " + this.name + ", Number: " + this.Number + ", amount: " + this.Amount ; } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue