using Local = Local.A using Global = Global.A public void TreeViewBinding<T>(T t) where T : Local where T : Global { //My code goes here }
public void TreeViewBinding(Local localParam) { //My code goes here DoAnotherTask(localParam) } public void TreeViewBinding(Global globalParam) { //My code goes here DoAnotherTask(globalParam) }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)