Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
test type casting
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { class A { public A() { } public void Add(int a, int b) { Console.WriteLine(a+"int"+b); } public void Add(int a, long b) { Console.WriteLine(a+"long"+b); } public void Add(int a, double b) { Console.WriteLine(a+"double"+b); } } public class Program { public static void Main(string[] args) { A a=new A(); a.Add(5,(int)2); a.Add(10,1); } } }
run
|
edit
|
history
|
help
0
extrefGenerate
Order of Ops Decimals 5.1 (changed result.ToString(fmt2))
selam
Full join
CRC 8 bit Table calculation
Is String a Palindrome
My C# (2)
Median in two sorted lists (O(m*n))
Codenew
Trabbd