[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Enumeration/ private/public/protected /friends

Posted on 2006-07-10
1
Medium Priority
?
356 Views
Last Modified: 2008-03-17
I would like to know the usage of some words in VB.net.
example:

Public shared function
Private shared function

Public protected function
Private protected function

I have seen the usage of  Friends somewhere
I also have seen enumeration.

can someone explain to me how they use them?

thanks
0
Comment
Question by:jskfan
[X]
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
1 Comment
 
LVL 1

Accepted Solution

by:
sridon earned 1200 total points
ID: 17075826
1) Public shared function and Private Shared function

When you declare a function as shared then you don't have to make an instance of the class to use the function. for ex.

there is a class c1 and it has a shared function F1 then you can use this function without making an instance of it.

2)Public protected function & Private protected function

There is nothing called as Public protected or Private Protected. There  are 5 access modifiers which you can use in .net.For further details goto this link

http://builder.com.com/5100-6373-1027680.html

3)  Friends

The  friend functions are also illustrated in the above link. just remeber that Friend functions are called Internal in c#.

4)  enumeration.

hey are generally written to make your code more readable. ou can find more information on Enumerations in the follwing 2 links
http://www.thescarms.com/dotnet/enumeration.asp 
or
http://aspalliance.com/292

Hope ths is helpfull

Regards
Sridon
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

656 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