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

Is array thread safe c#?

480


Why we use get set property in c#?

470


Name any three ways to pass parameters to a method in c#?

488


Are c# strings null terminated?

531


What is get set in c#?

558






Why do we use interfaces in c#?

491


Tell me the difference between value passing and address passing?

624


What is an iqueryable in c#?

497


What is a must for multitasking

563


What are the 3 logical operators?

558


What is the use of console?

486


Why is it called c sharp?

513


What does break do in loop?

490


What is boxing & unboxing?

566


What is xor operator in c#?

514