Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Calculator Test
//Rextester.Program.Main is the entry point for your code. Don't change it. //Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { Console.WriteLine("Please enter the method to use (add, substract, multiply or divide):"); string method = Console.ReadLine(); if (method == "add") { Console.WriteLine("Adding"); } else { Console.WriteLine("Please enter a valid method."); } } } }
run
|
edit
|
history
|
help
0
Generics Base class constraints Doubts
asd
Abstract class by Derived class reference example
Simple Parallel.For example
ss
Override method/function in C#
Reverse And Shift Char in String
Least Common Multiple of 2 or more numbers.
Binary Hex Decimal Systems
Map usernames from domain\username format to username@domain.com format