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
Boo socks
ObjectPool
array integration
FINAL PRIME NUMBER GENERATOR IN C#
Math 5.83
sdfghjikujyhtgrfedwcdf
Doubt-" 1 parameter Gen _Derive_Class inherit the 2 parameter Gen_Base_Class"
decimal to binary conversion
Bid Status
Sort string collection by length