|
how we can access "protected internal" class?
vamsi
|
|
|
|
|
Sounds that this question is asked in the Interview?
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
Well there are a number of access qualifiers: private , protected , internal , and public .
protected means that only the class and anything derived from it has access.
internal means that only code in the same assembly has access.
Now, protected internal is a combination (union) of the two.
See here instead[^]
-- modified at 7:07 Thursday 12th July, 2007
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
Ready to Give up - Your help will be much appreciated.
My website
|
|
|
|
|
Wouldn't it be an intersection of the two? i.e. a class has to be in the same assembly AND and derived rather than OR?
Not trying to nit-pick, just curious
|
|
|
|
|
ruanr wrote: Wouldn't it be an intersection of the two? i.e. a class has to be in the same assembly AND and derived rather than OR?
As I remember it is a UNION. The class has to be in the same assembly OR derived.
See here instead[^]
-- modified at 7:08 Thursday 12th July, 2007
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
Ready to Give up - Your help will be much appreciated.
My website
|
|
|
|
|
|
Actually, that makes it sound like you were right - and the poster below here agrees with your original opinion.
Who's bored enough to test it?
|
|
|
|
|
hi
The permissions allowed by this access level are those allowed by the 'protected' level plus those allowed by the 'internal' level. The access level is thus more liberal than its parts taken individually. This modifier should only be used for internal classes (ie. classes declared within other classes).
Rajendra Kumar Yerra
|
|
|
|
|
how we can arrange array items in descending order?
vamsi
|
|
|
|
|
Sounds that this question is asked in the Interview?
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
Hi, and welcome to the internet. Search the forums, then google, then ask. And look in your textbook before asking a homework question.
Try using Array.Sort and then Array.Reverse.
|
|
|
|
|
Ask your friend from class!
His question got a lot of response![^]
P.S.: You forgot that question: "enter a number and display next 5 prime numbers."
Maybe you forgot to turn the page of your homework assignment.
-- modified at 3:06 Thursday 12th July, 2007
I know now why you didn't asked it.
PhilDanger[^] gave the correct answere allready!
All the best,
Martin
|
|
|
|
|
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
Hi Martin,
this question is quite different from the ascending order one;
the solution is much, much harder. It probably takes more than one line of code.
|
|
|
|
|
Hello Luc,
You are write, I haven't looked to carefully at the question!
Ok, so he changed the page and found this additional question for the 'primus' studends!
-- modified at 6:15 Thursday 12th July, 2007
I found a solution in one line:
1) http://support.microsoft.com/kb/319401[^]
All the best,
Martin
|
|
|
|
|
bubble sort it... or use a listbox to display it and turn its sorted property on.
Mark
|
|
|
|
|
Hello,
how can i get the information about wich/how many COM Ports are available on my platform/PC ?
thanks!
|
|
|
|
|
Hi.
You can use
string[] availablePorts = SerialPort.GetPortNames();
Standards are great! Everybody should have one!
|
|
|
|
|
Hello my problem i have vss schedular, it is designed with asp.net and .
vb.net, what i want is this vss schedular is running everyday night 12.00am.
i want to get sms is it running or not ,
how to do this one
, please any one can help me
srinivas
|
|
|
|
|
VSS Schedular?? What is that? Is it Microsoft Visual SourceSafe?
|
|
|
|
|
Yes Michael Sync
srinivas
|
|
|
|
|
I didn't see this feature in SourceSafe. Is it in Visual Sourcesafe 2005??
|
|
|
|
|
Hi,
First a bit of common info.
This can't be done directly. You should contact your mobile operator, because you will have to use the SMPP server of the celular service provider. It's also possible that you need a VPN connection to their computer (but I'm not sure about this). To use SMPP, you will need to use WinSock for the connection.
More info on how to use the SMPP can be found on the SMSForum : http://www.smsforum.net/.
You can also use a SMS Modem, but I don't have more info on this one.
A bit of advantages and disadvantages :
The SMPP option gives you these advantages and disadvantages:
- Massive amounts of SMS. Perfect for SMS spammers.
- Lower costs, depending whether your provider charges you for SMPP and how much.
- Providers rarely release access to SMPP to individuals. Sometimes not even companies.
The GSM Modem option gives you these other advantages:
- Freedom from the provider. Just insert the SIM and you are ready.
- It will handle (outgoing or incoming) only 1 message every 4.5 seconds.
Now todo this with .Net, here is a bit of info :
An example in C# : http://www.emant.com/681002.page
There are also a few examples on the codeproject itself :
http://www.codeproject.com/cs/webservices/SendSmsThroughWS.asp
http://www.codeproject.com/vb/net/PDUEncoder.asp
http://www.codeproject.com/smartclient/phoneat.asp
Several code examples : http://www.csoft.co.uk/sms/example_code/index.htm
So I hope this helps you with your problem.
|
|
|
|
|
Thank you now iam searching about the related sites
srinivas
|
|
|
|
|
srinivassam wrote: schedular
Check the spelling. It is misspelt everywhere.
|
|
|
|