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
valida fechas sura
Intuit // C# // listing_4.6 (if_then_else // Shooting on the target)
EMV_RESULTAT
singly linked list traversal
Public access specifier
عبدالله
train555555
generic hierarchy1
araray
Find longest span of characters in string