Using keyword in c#
While learning c# many times I came across this kind of code:
I have seen using keyword while adding up variables from new name spaces. Upon searching I found that it is used for defining up scope of a variable and that variable is disposed once we reach outside the scope. e.g., in this example client variable can be used in the curly braces mentioned.
This is about the usage of this using keyword but still pros and cons of developing these kinds of constructs is unclear to me.
I need to explore more...
Comments
Post a Comment