Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to retreive RAM size Pin
Luc Pattyn5-Aug-07 23:45
sitebuilderLuc Pattyn5-Aug-07 23:45 
AnswerRe: How to retreive RAM size Pin
Vasudevan Deepak Kumar6-Aug-07 0:58
Vasudevan Deepak Kumar6-Aug-07 0:58 
AnswerRe: How to retreive RAM size Pin
Nouman Bhatti6-Aug-07 2:07
Nouman Bhatti6-Aug-07 2:07 
Questionis a File Read Only. Pin
Saqib Mehmood5-Aug-07 22:32
Saqib Mehmood5-Aug-07 22:32 
AnswerRe: is a File Read Only. Pin
N a v a n e e t h5-Aug-07 22:53
N a v a n e e t h5-Aug-07 22:53 
AnswerRe: is a File Read Only. Pin
Nouman Bhatti6-Aug-07 2:05
Nouman Bhatti6-Aug-07 2:05 
Questioninternal and internal protected Pin
Sonia Gupta5-Aug-07 22:25
Sonia Gupta5-Aug-07 22:25 
AnswerRe: internal and internal protected Pin
N a v a n e e t h5-Aug-07 22:46
N a v a n e e t h5-Aug-07 22:46 
Sonia Gupta wrote:
internal Access is limited to the current assembly.


Correct

Sonia Gupta wrote:
somebody please provide any example that elaborates how to use these things.


Assume you have two class file, class1 and class2. Your class1 looks like

internal class class1
{
}

class2 looks like

class class2
{
   public class2()
   {
       class1 c1 = new class1(); //Will produce error
   }
}


This is how internal works. You won't be able to get reference to internal class from other assembly. Try making the internal to public to get access.


Sonia Gupta wrote:
protected internal Access is limited to the current assembly or types derived from the containing class.


Protected keyword is mostly used in internal classes ( class inside other one ). It can be accessed by containing type and any type that inherits containing type. So protected internal would be protected level + internal level. I am not sure regarding this, check with online documentations.


GeneralRe: internal and internal protected Pin
Sonia Gupta5-Aug-07 23:00
Sonia Gupta5-Aug-07 23:00 
GeneralRe: internal and internal protected Pin
N a v a n e e t h6-Aug-07 1:13
N a v a n e e t h6-Aug-07 1:13 
AnswerRe: internal and internal protected Pin
m@u5-Aug-07 23:41
m@u5-Aug-07 23:41 
AnswerRe: internal and internal protected Pin
Hessam Jalali5-Aug-07 23:46
Hessam Jalali5-Aug-07 23:46 
AnswerRe: internal and internal protected Pin
Pete O'Hanlon6-Aug-07 1:34
mvePete O'Hanlon6-Aug-07 1:34 
GeneralRe: internal and internal protected Pin
Sonia Gupta6-Aug-07 1:41
Sonia Gupta6-Aug-07 1:41 
GeneralRe: internal and internal protected Pin
Pete O'Hanlon6-Aug-07 2:42
mvePete O'Hanlon6-Aug-07 2:42 
GeneralRe: internal and internal protected Pin
originSH6-Aug-07 4:03
originSH6-Aug-07 4:03 
QuestionTake over a GUI of running program Pin
Morad Kobi5-Aug-07 22:21
Morad Kobi5-Aug-07 22:21 
AnswerRe: Take over a GUI of running program Pin
Hessam Jalali6-Aug-07 23:17
Hessam Jalali6-Aug-07 23:17 
Questionregarding xml's property dynamically Pin
praveenkumar palla5-Aug-07 21:51
praveenkumar palla5-Aug-07 21:51 
QuestionDataAdapter.Fill() Pin
blackjack21505-Aug-07 21:43
blackjack21505-Aug-07 21:43 
AnswerRe: DataAdapter.Fill() Pin
Marek Grzenkowicz5-Aug-07 22:04
Marek Grzenkowicz5-Aug-07 22:04 
AnswerRe: DataAdapter.Fill() Pin
N a v a n e e t h5-Aug-07 22:49
N a v a n e e t h5-Aug-07 22:49 
AnswerRe: DataAdapter.Fill() Pin
Nouman Bhatti6-Aug-07 2:12
Nouman Bhatti6-Aug-07 2:12 
QuestionFind Out the executed page??? Pin
mimimimilaw5-Aug-07 21:08
mimimimilaw5-Aug-07 21:08 
QuestionCalling unmanaged DLL-methodes (winmm.dll) Pin
J. Holzer5-Aug-07 20:32
J. Holzer5-Aug-07 20:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.