c# - assigning type to a variable and using it to initialize other objects -
is possible this:
tybevariable = double; typevariable newdoublevariable = 5;
i want define variable wich contain type , initialize objects it.
you can use var keyword. implicitly type keyword. can read more here
Comments
Post a Comment