how to differentiate functions written by a coder and .net built-in functions?

Hi there;

How to differentiate functions written by a coder and .net built-in functions?

I mean, I have a code very well written and commented in .net and when I go for CTRL+space in VS 2010, I see the brief explanation of the function, but I cannot differentiate it whether it's written by the coder and by .NET built-in?

Kind regards.

LVL 12
jazzIIIloveAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Sudhakar PulivarthiConnect With a Mentor Project Lead - EngineeringCommented:
Hi,

You cannot differentiate once the code is already written. I understand as ur going through some others code, Its good to do this trick:
Remove all the using statements which starts with System.
Try to compile and VS will show the lines where the references are missing.
Now provide the inbuilt classes with complete namespace like System.IO.Path
By doing this the classes are differentiated which are built-in and user written, keep the user written classes without namespace prefix

Hope this helps!!!
0
 
sergiobg57Commented:
You can just see which class the function comes from when you pass the mouse.
You could also use the option "go to definition" and see if it's a VS module or not.
0
 
käµfm³d 👽Connect With a Mentor Commented:
I think you'd have to come up with some convention on your own. At the very least, you should be able to tell by taking note of the namespace VS tells you the class is under, but if you decide to use existing namespaces for you own classes, then this might be inadequate.

As far as I know, there is no quick way to tell outside of what sergiobg57 described.
0
 
käµfm³d 👽Connect With a Mentor Commented:
P.S.

By "convention," I meant you could make a special note in your XML comments that are visible through Intellisense.
0
 
jazzIIIloveAuthor Commented:
>>Remove all the using statements which starts with System.
wise
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.