07-16-2012, 10:34 PM | #1 |
Registered User
Join Date: Jul 2012
Posts: 45
|
access specifiers
Any body say what are the access specifiers used in asp.net
|
07-17-2012, 02:43 AM | #2 |
Registered User
Join Date: Jul 2012
Posts: 111
|
1. Public
2. Private 3. Protected 4. Internal 5. protected internal |
07-18-2012, 09:32 PM | #3 |
Registered User
Join Date: Jul 2012
Posts: 45
|
hi
|
09-03-2012, 05:38 AM | #4 |
Registered User
Join Date: Dec 2010
Location: Florida
Posts: 168
|
Access specifiers are generally used for showing the availability of different class members. Mainly there are five types of access specifiers used in .Net or C# as below:
1. Public: This specifier is used to access the object of the class from anywhere even from out of the class. 2. Private: This specifier is used to define private functionality of the class. It’s only accessible by the object or member of that class. 3. Protected: Its used for inheriting the class. Only child class can access such class and its protected from other classes. 4. Internal: Its accessible by all classes of assembly. 5. Protected Internal: It’s the combination of internal and protected specifier. So it can be accessed by inheriting or child class as well as that own class itself from the assembly.
__________________
Strategic Web Solutions by SPINX INC. - A Web Design Company in Tampa, To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. Last edited by bryanbell; 09-13-2012 at 01:54 AM.. |
04-19-2013, 03:22 AM | #5 |
Registered User
Join Date: Apr 2013
Posts: 58
|
yeah...........thanks for sharing this.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
03-12-2014, 03:05 AM | #6 |
Registered User
Join Date: Nov 2013
Posts: 92
|
1. Public
2. Private 3. Protected 4. Internal 5. protected internal
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows VDS, RDP Access, WebSitePanel, 2003,2008, US/UK DC | AJKpeter | Post your ad here | 0 | 07-10-2012 05:34 AM |
Featured Windows VPS - FULL Root Access - Free Backup Storage - Remote Desktop | AJKpeter | Post your ad here | 0 | 05-07-2012 06:17 AM |
Featured Windows VPS - FULL Root Access - Free Backup Storage - Remote Desktop | AJKpeter | Post your ad here | 0 | 04-05-2012 11:28 PM |
Windows VPS - FULL Admin Access - Windows Desktop Enabled - 1Gbps premium bandwidth | AJKpeter | Post your ad here | 0 | 02-23-2012 08:00 AM |
UK and USA Windows VPS w/ RDP - 2003/2008 OS - Root Access - USA/UK Locations | AJKpeter | Post your ad here | 1 | 01-12-2012 12:01 PM |