Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
c# specialization/overload
//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; namespace Rextester { public class Collection<T> {}; public class Program { static int f<T>(T c) { return 1; } static int f(string c) { return 2; } static int g<T>(T c) { return f(c); } public static void Main(string[] args) { //Your code goes here Console.WriteLine("g():"); Console.WriteLine(g((int)1)); Console.WriteLine(g((string)null)); Console.WriteLine("f():"); Console.WriteLine(f((int)1)); Console.WriteLine(f((string)null)); } } }
run
|
edit
|
history
|
help
0
conter 1 in binnary number
itervativeFact
ElaineBrown**
compiled prog
program
Roman Numbers - Sorting
Get UTC time and offset minutes
codetility CyclicRotation
izem
sdrfgthyuytgrfdwcd