SteevStanman SteevStanman
  • 01-05-2017
  • Computers and Technology
contestada

List the rules to keep in mind as you declare a variable in VB.NET

Respuesta :

tonb
tonb tonb
  • 09-05-2017
- What is your variable scope? Ie., in what parts of the program do you need it?
- Is it a value type or a reference type. Reference types must always be "newed". Value types are more expensive to pass as parameters.
- Does the type implement IDisposable? Then you should use it in a using { } clause.
- Is the type immutable (like string or DateTime)? Then making changes to it is more expensive than you may think.
Answer Link

Otras preguntas

Marika and Freddy sold 70 homes for Ron Realty. If Marika sold 2.5 times as many homes as Freddy, how many homes did each sell?
how is mass transit in cities a possible solution tk urban air pollution?
Marika and Freddy sold 70 homes for Ron Realty. If Marika sold 2.5 times as many homes as Freddy, how many homes did each sell?
Prove that (x^5)-(x^2)+2x +3=0 has at least one real root. Prove that x=cosx has at least one solution.
how is mass transit in cities a possible solution tk urban air pollution?
How is it possible for Mercury to have frozen ice ?
Prove that (x^5)-(x^2)+2x +3=0 has at least one real root. Prove that x=cosx has at least one solution.
how is mass transit in cities a possible solution tk urban air pollution?
Scarcity is the condition of not having enough goods and services to satisfy everyone's?
Prove that (x^5)-(x^2)+2x +3=0 has at least one real root. Prove that x=cosx has at least one solution.