What is the DIfference between Friend and Protected Friend?
Answer Posted / benjamin marty
I guess the difference is this:
Friend can be accessed by
1. Code within the class
2. Code in derived classes within the same assembly
3. Other code in the same assembly
Protected can be accessed by
1. Code within the class
2. Code in derived classes within the same assemblies
3. Code in derived classes in other assemblies
Protected Friend can be accessed by
1. Code within the class
2. Code in derived classes within the same assembly
3. Other code in the same assembly
4. Code in derived classes in other assemblies
| Is This Answer Correct ? | 47 Yes | 9 No |
Post New Answer View All Answers
How can we store decimal data in .net?
Explain code security?
What is sealed class?
what is commom language runtime?
Explain about jagged arrarys ?
what is common language specification?
what is interface and when it is used?
Name some of the features present in vb 2005?
How many classes a dll can contain?
Write program in VB.Net with SQL Server and Crystal Reports to develop a small windows application to add,edit,save, search and print Employee Information and send sourcecode as zip file. empcode : .............. empname : .............. dateofjoin : dd/mm/yyyy dateofbirth : dd/mm/yyyy TableName: EmpMaster EmpCode EmpName DOB DOJ TableName: EmpDocs EmpCode DocNo DocName ExpDate
How to store images in sql server database through vb.net?
Explain the differences between vb.net and c#, related to oops concepts?
Explain about the ruby interface generator?
Name a feature which is common to all .net languages?
What is the differnce between managed code and unmanaged code?