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

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -