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

Popular posts from this blog

mysql - How to unscape text from database in android studio -

php - Admin SDK -- get information about the group -

Making CSS Drop Down Menu 2 Columns -