.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

Internal keyword in C#

Posted By: Nehal     Posted Date: August 09, 2009    Points:2   Category :C#
Describe the internal keyword (Access Specifier) in C#.net with example.

Responses
Author: Akhil Raj       [Moderator]      
Posted Date: August 09, 2009     Points: 5   

check the following

 http://msdn.microsoft.com/en-us/library/7c5ka91b%28VS.80%29.aspx 


Author: Venkat             
Posted Date: August 09, 2009     Points: 5   

Hi,
The internal keyword is an access modifier for types and type members. Internal types or members are accessible only within files in the same assembly, For Eample


public class MyClass
{
// Only accessible within the same assembly ( dll )
internal static int val= 0;
}


Mark As Answer if this solve your problem
Warm Regards,
Venkat
Author: Abhisek Panda             
Posted Date: December 15, 2009     Points: 5   

The internal keyword is an access modifier used in field, method, and property declarations to make the field, method, or property internal to its enclosing assembly. That is, it is only visible within the assembly implementing it.

Please refer to the links below,

http://msdn.microsoft.com/en-us/library/7c5ka91b%28VS.80%29.aspx

You will find all the keywords of C# here,

http://www.codeproject.com/KB/cs/modifierkeywords.aspx



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend