Click here to Skip to main content
15,896,497 members
Home / Discussions / C#
   

C#

 
GeneralRe: Launching a program by double clicking file, file loading problem Pin
J4amieC18-Oct-04 22:31
J4amieC18-Oct-04 22:31 
Generalnamespace vs reference Pin
CocciaStella18-Oct-04 18:00
CocciaStella18-Oct-04 18:00 
GeneralRe: namespace vs reference Pin
Stanciu Vlad18-Oct-04 19:11
Stanciu Vlad18-Oct-04 19:11 
GeneralRe: namespace vs reference Pin
CocciaStella19-Oct-04 19:18
CocciaStella19-Oct-04 19:18 
GeneralRe: namespace vs reference Pin
sreejith ss nair18-Oct-04 19:15
sreejith ss nair18-Oct-04 19:15 
GeneralRe: namespace vs reference Pin
Colin Angus Mackay18-Oct-04 22:41
Colin Angus Mackay18-Oct-04 22:41 
GeneralRe: namespace vs reference Pin
sreejith ss nair18-Oct-04 22:53
sreejith ss nair18-Oct-04 22:53 
GeneralRe: namespace vs reference Pin
Colin Angus Mackay18-Oct-04 23:34
Colin Angus Mackay18-Oct-04 23:34 
sreejith ss nair wrote:
we need to feed little amount first. Then little more next etc .
sreejith ss nair wrote:
But think , is this will digest a newbee

I see your point on the first part (about needing to reference an assembly in order to use it), but for the second part... Well, if you look at code generated by the designer you will see that it puts in the full namespace, and if you are adding SqlConnections/SqlDataAdapters and the like you'll notice it doesn't add using System.Data.SqlClient at the top of the file. This can actually be rather confusing to someone who doesn't know both ways as newbies are likely to be relying on the designer more than others and when they come to do some code of their own (in the class that the designer built) they will wonder why they cannot get some code to compile because they don't have a using at the top, but the object already exists in the class somehow...... And the whole thing swirls round in a mess in their head making them more and more frustrated because they can't figure it out.

I see your point about helping them push their knowledge forward in small steps.(They've got to learn to walk before they can run). But, I don't think (partially) misleading assertions help. I would say the better way would have been to say something like "there are other ways, but the more common and useful is...." (or something like that, depending on the situation).

Anyway, don't feel too bad. I'm now likely going to be critisised for being a hypocrit because sometimes I rush a response and make partially misleading statements in order to answer their immediate query, but not give a proper explanation of the whys and hows.




Do you want to know more?


Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
GeneralRe: namespace vs reference Pin
sreejith ss nair18-Oct-04 23:42
sreejith ss nair18-Oct-04 23:42 
GeneralRe: namespace vs reference Pin
J4amieC18-Oct-04 23:42
J4amieC18-Oct-04 23:42 
GeneralRe: namespace vs reference Pin
CocciaStella19-Oct-04 19:36
CocciaStella19-Oct-04 19:36 
GeneralRe: namespace vs reference Pin
Colin Angus Mackay19-Oct-04 20:49
Colin Angus Mackay19-Oct-04 20:49 
GeneralRe: namespace vs reference Pin
CocciaStella19-Oct-04 19:21
CocciaStella19-Oct-04 19:21 
GeneralRe: namespace vs reference Pin
«_Superman_»19-Oct-04 0:23
professional«_Superman_»19-Oct-04 0:23 
GeneralGetEnumerator Pin
Member 138504918-Oct-04 17:13
Member 138504918-Oct-04 17:13 
GeneralRe: GetEnumerator Pin
sreejith ss nair18-Oct-04 19:03
sreejith ss nair18-Oct-04 19:03 
GeneralRe: GetEnumerator Pin
HahnTech18-Oct-04 19:59
HahnTech18-Oct-04 19:59 
GeneralXML Transforms Error Pin
jzb18-Oct-04 16:23
jzb18-Oct-04 16:23 
GeneralRe: XML Transforms Error Pin
Stanciu Vlad18-Oct-04 19:08
Stanciu Vlad18-Oct-04 19:08 
Generalhelp new to C and problems with loops Pin
jenmaz18-Oct-04 15:54
jenmaz18-Oct-04 15:54 
GeneralRe: help new to C and problems with loops Pin
Steve Maier18-Oct-04 17:01
professionalSteve Maier18-Oct-04 17:01 
GeneralRe: help new to C and problems with loops Pin
jenmaz18-Oct-04 17:10
jenmaz18-Oct-04 17:10 
GeneralRe: help new to C and problems with loops Pin
sreejith ss nair18-Oct-04 19:27
sreejith ss nair18-Oct-04 19:27 
GeneralRe: help new to C and problems with loops Pin
Dave Kreskowiak19-Oct-04 3:55
mveDave Kreskowiak19-Oct-04 3:55 
Generalcollection question Pin
isittheweekendyet18-Oct-04 14:16
isittheweekendyet18-Oct-04 14:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.