Hi, I'm new to C# -- but I've been programming for awhile and it's straighforward, so I'm getting up to speed pretty fast.
Most of the examples that I'm finding, for the specific task I'm trying to do, are contained within Solution Files for VB.NET.
No problem, though, I found a handy dandy web-based converter that will translate the code, 95% error-free:
I've already gotten through several successful VB.NET to C# conversions, but it appears that VB.NET is a little less choosy than C# is about fully qualified namespaces.
I say this because most of my time is spent fixing "The type or namespace 'theObject' cannot be found" errors. I fix them by fully qualifying the namespace.
Typically, guessing that "System.Web" or something similar is the missing namespace portion, has been fairly successful. However, I'm looking for an easier way to do this. I'm looking for a way to search all classes against the "Mystery Object Portion" that I have, to see all the instances of it. That way, I could choose the one that (hopefully) is the clear ideal.
Here's an example: Right now I'm dealing with a "namespace fragment" called "ListItem". I haven't been able to easily find the rest of the namespace. If there was some way I could search my namespace for ListItem, though, it would be easy.
Hopefully I'm making sense, thanks for reading and thanks for any insight -- it would help a beginner out!
rs
Most of the examples that I'm finding, for the specific task I'm trying to do, are contained within Solution Files for VB.NET.
No problem, though, I found a handy dandy web-based converter that will translate the code, 95% error-free:
I've already gotten through several successful VB.NET to C# conversions, but it appears that VB.NET is a little less choosy than C# is about fully qualified namespaces.
I say this because most of my time is spent fixing "The type or namespace 'theObject' cannot be found" errors. I fix them by fully qualifying the namespace.
Typically, guessing that "System.Web" or something similar is the missing namespace portion, has been fairly successful. However, I'm looking for an easier way to do this. I'm looking for a way to search all classes against the "Mystery Object Portion" that I have, to see all the instances of it. That way, I could choose the one that (hopefully) is the clear ideal.
Here's an example: Right now I'm dealing with a "namespace fragment" called "ListItem". I haven't been able to easily find the rest of the namespace. If there was some way I could search my namespace for ListItem, though, it would be easy.
Hopefully I'm making sense, thanks for reading and thanks for any insight -- it would help a beginner out!
rs