difference between keyword internal and protected?

Answer Posted / jebasingh luccas

Major different between these internal and protected
keyword reside on scope in which it can be accessible.
internal defines the scope with in the assembly and
protected defines the scope to the derived
(sub) class.

Is This Answer Correct ?    39 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does a class need a constructor c#?

668


What is console readkey in vb net?

846


Is unity object oriented?

667


Is c# dictionary a hash table?

642


Is friend a constructor?

677


How do I run managed code in a process?

710


What is a int in c#?

663


Which class does the remote object has to inherit?

809


Do void methods have parameters?

675


What is difference between tostring() vs convert.tostring() vs (string) cast

772


What is a method signature?

728


What do you mean by thread safe in c#?

640


Do loops in c#?

662


Structs are not reference types. Can structs have constructors?

668


What is float in unity?

672