difference between keyword internal and protected?

Answer Posted / ghouse basha s

These are access specifiers,
Internal means methods and properties will be accessible to
Classes in the Assembly
Protected means methods and properties will be accessible to
classes and in the derived assembly

Is This Answer Correct ?    7 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Web.config?

714


What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to

705


Write a program in c# to find the angle between the hours and minutes in a clock?

672


What basic steps are needed to display a simple report in crystal?

711


Why are c# strings immutable?

687






Can abstract class be instantiated c#?

696


Is c# the same as d flat?

670


Explain how do I convert a string to an int in c#?

681


What is parsing? How to parse a date time string?

721


What is get set in c#?

734


What are sorted lists?

672


Explain the functionalities of satellite assembly?

716


Is string null or empty?

677


Is it possible to have different access modifiers on the get/set methods of a property?

682


Can we inherit sealed class in c#?

618