Solved

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

Posted on 2011-02-26
5
315 Views
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.

0
Comment
Question by:jazzIIIlove
5 Comments
 
LVL 3

Expert Comment

by:sergiobg57
Comment Utility
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
 
LVL 74

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 50 total points
Comment Utility
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
 
LVL 74

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 50 total points
Comment Utility
P.S.

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

Accepted Solution

by:
Sudhakar Pulivarthi earned 450 total points
Comment Utility
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
 
LVL 12

Author Comment

by:jazzIIIlove
Comment Utility
>>Remove all the using statements which starts with System.
wise
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now