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

What is a console?

502


List down the reason behind the usage of c# language.

653


Define an abstract class?

509


What is a method signature c#?

522


In .NET how can you solve the DLL Hell problem?

675






What is a method c#?

482


How does foreach loop work in c#?

486


How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!

1685


How do I automate my desktop application?

510


What does == mean in c sharp?

519


Compare and contrast between the System.Array.CopyTo() and Clone()?

554


How is a strongly-named assembly different from one that isn’t strongly-named?

611


Explain Direct CAST vs CType ?

557


What is a protected class c#?

491


What is xor operator in c#?

522