G
Guest
Hi all, I am new to C# and have jst 2 questions for now..
1. I come from a VB6 background and I notice that declaring variables for certain objects in C# goes in the following format, for example : sqlDataAdapter da = new sqlDataadapter. My question is what is the purpose of the first statement? Why do I have to say sqlDataAdapter da = ........ why can't I just say da=........ What is the purpose of writing the first sqlDataAdapter, or any class name for that matter
2. Can someone please tell me what are/and what the differences are between a Basemanager Class and the CurrencyManager class - or could you point me in the right direction
Thanks for any hel
Kevin
1. I come from a VB6 background and I notice that declaring variables for certain objects in C# goes in the following format, for example : sqlDataAdapter da = new sqlDataadapter. My question is what is the purpose of the first statement? Why do I have to say sqlDataAdapter da = ........ why can't I just say da=........ What is the purpose of writing the first sqlDataAdapter, or any class name for that matter
2. Can someone please tell me what are/and what the differences are between a Basemanager Class and the CurrencyManager class - or could you point me in the right direction
Thanks for any hel
Kevin