Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

Posted on 2011-02-26
Medium Priority
Last Modified: 2012-05-11
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.

Question by:jazzIIIlove
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 34987415
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.
LVL 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 200 total points
ID: 34988241
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.
LVL 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 200 total points
ID: 34988242

By "convention," I meant you could make a special note in your XML comments that are visible through Intellisense.
LVL 11

Accepted Solution

Sudhakar Pulivarthi earned 1800 total points
ID: 34998550

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!!!
LVL 12

Author Comment

ID: 35001673
>>Remove all the using statements which starts with System.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question