Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to define unknown variable type passed to a method and then got what ever operations on it within method in C#?

user-image
Question added by ali sabra , Programmer-technical support , Business concept for software solutions
Date Posted: 2016/04/01
Deleted user
by Deleted user

class A{

var x;

x="something";PrintMyVar(x);

}

void PrintMyVar(var a){

Console.WrtieLine(a);

}

 

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.