Explain about Protected and protected internal, ?internal?
access-specifier?

Answer Posted / diana cheriyan

Protected:-Access is limited to the Containing class or
types derived from the Containing class

Internal:-Access is limited to the Current Assembly

Protected Internal:-Access is limited to the current
Assembly or types derived from the Containing class

Is This Answer Correct ?    19 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of dependency injection?

571


Describe the parts of assembly.

605


What is sealed class in c#?

595


Explain About a class access specifiers and method access specifiers.

639


What is boxing and unboxing in c#?

538






Is it possible to force garbage collector to run?

552


What is difference between .net and c#?

569


What is literal control

670


Asha buys 16 Chocolates for rs 12 and 24 chocolates for rs 20, if she sold them 30 chocolates for rs 30 then what is the Gain/Loss percentage? Gain(700/19 %) Loss(700/19 %) Gain(500/19 %) Loss(500/19 %) If one person ate 100 grapes in 5 days and 6 more each day from starting, what was the no of grapes he ate on first day? 6 8 10 7 If seven men P, Q, R, S, T, U, V parked his car, P and Q something like that. 6 student J, K, L, M, N, O went for picnic in 2 batches, K and L have to go together, M and O do't go together, if O and L go in one batch then which of these combination will be wrong. Jmnp Jklo klop JKLO a boat can go upstream and down stream, if it goes 5/2 times of downstream at the speed of 6 kmph then what will be the speed of upstream? 15 KMPH 12 KMPH 10 KMPH 11 KMPH A, B, C, D, E sitting on a table, A sits 2 seat left from B and C sits 2 seat right from B then what will not be the combination ACDE

3841


What does assert() do in c#?

638


Why do we write system in c#?

564


Is c# good for web development?

631


Is array immutable in c#?

553


If you want to convert a base type to a derived type, what type of conversion do you use?

573


What are c# types?

633