What is the DIfference between Friend and Protected Friend?
Answer Posted / kuru
Protected --> Accessible ONLY by 1.Derived classes 2.Within
the same class
Friend --> Accessible ONLY by 1.Derived classes 2.Classes
in the same assembly 3.Within the same class
Protected Friend --> Accessible ONLY by 1.Derived classes
2.Classes in the same assembly 3.Within the same class
This is a very strange prob for which I've been looking for
an answer for a long time. As you can see above Friend and
Protected Friend are exactly same simply because 'Friend'
encompasses the accessibilities of both Protected and
Protected Friend. The question here is why did Microsoft
publish a 'Protected Friend' keyword when it is EXACTLY
same as Friend.
Is This Answer Correct ? | 11 Yes | 20 No |
Post New Answer View All Answers
Name the tool which can convert visual basic old version to .net compatibility version?
Explain the difference between namespace and assembly?
Sir, what code to store data from vb net sql server 2008 to 2005 and at the same time in order to validate the data entered is not the same, but there have been contacts in the module. Examples such as the log table that I created, the user name as the primary key.
What is the class that allows an element to be accessed using unique key?
I Am Developing A project where I can send Message from One Computer to Another Computer With The Help Of LAN.Already I Have developed..It is working Fine With The Details Of ..TO,FROM,REF No,DATE,BODY...Now I Want To Add Attachments part in the same projects...How Can I Send Attachment File & How To Send It..I Am Working in VB.Net 2005 With out Any database. Can Any One Help me ??How To Write Code??Plz Send me a copy to my Mail also...I Dont Need Any Software Available in The Internet...Plz refer me The Code in VB.Net maloy.adhikari@in.com
What is the differences between dataset.clone and dataset.copy?
What is option strict?
Name some of the keywords used in vb.net?
What is the difference between value and reference types?
Explain some of the exclusive features which are present in vb?
How would you implement inheritance using vb.net?
What is writeline in vb.net?
Explain about visual basic?
thak you Mr Govind for replying to my question. My next question is that how to retrieve image stored in an SQL server table and assign it to any image control or picture control using VB.net
What keyword is used to accept a variable number of parameter in a method?