Click here to Skip to main content
16,010,392 members
Home / Discussions / C#
   

C#

 
GeneralRe: Color Pallette Pin
Radgar18-Feb-05 15:18
Radgar18-Feb-05 15:18 
GeneralRe: Color Pallette Pin
mav.northwind18-Feb-05 22:53
mav.northwind18-Feb-05 22:53 
GeneralRe: Color Pallette Pin
Bob Bonser19-Feb-05 3:44
Bob Bonser19-Feb-05 3:44 
GeneralSuggestions for porting mostly C# app to Solaris 8 Pin
Larsenal18-Feb-05 10:24
Larsenal18-Feb-05 10:24 
GeneralRe: Suggestions for porting mostly C# app to Solaris 8 Pin
Luis Alonso Ramos19-Feb-05 11:54
Luis Alonso Ramos19-Feb-05 11:54 
GeneralRe: Suggestions for porting mostly C# app to Solaris 8 Pin
Anonymous21-Feb-05 10:50
Anonymous21-Feb-05 10:50 
GeneralEquivalent of the C++ "friend" class modifier Pin
Quimbly18-Feb-05 9:39
Quimbly18-Feb-05 9:39 
GeneralRe: Equivalent of the C++ "friend" class modifier Pin
Rob Graham18-Feb-05 11:46
Rob Graham18-Feb-05 11:46 
Not possible with top-level types in C#. There is no real eqivalent to c++ friend access level.
Your only alternative would be to derive the class that needs access from a puplic top level class that contains the class you want to access as a protected or protected internal class, which is a kludge that sort of defeats the pupose of not making the class you need access to public in the first place.

What is your employer REALLY trying to accomplish here? Do you need access to the entire class, or just a few methods? Do you need to instantiate the class in the other assembly?

Would a public wrapper class containing an instance the 'protected' class and exposing only the desired methods suffice (i.e. a facade)?- expose the facade class via a public class factory...


Anger is the most impotent of passions. It effects nothing it goes about, and hurts the one who is possessed by it more than the one against whom it is directed.
Carl Sandburg

GeneralRe: Equivalent of the C++ "friend" class modifier Pin
Skynyrd19-Feb-05 7:32
Skynyrd19-Feb-05 7:32 
GeneralRe: Equivalent of the C++ "friend" class modifier Pin
Anonymous23-Feb-05 15:25
Anonymous23-Feb-05 15:25 
GeneralTree View Text Pin
maheshfour18-Feb-05 8:59
maheshfour18-Feb-05 8:59 
GeneralRe: Tree View Text Pin
Dave Kreskowiak18-Feb-05 9:13
mveDave Kreskowiak18-Feb-05 9:13 
QuestionHow to make PropertyGrid pop up a dialog form Pin
lee meng18-Feb-05 6:37
lee meng18-Feb-05 6:37 
AnswerRe: How to make PropertyGrid pop up a dialog form Pin
Tee+18-Feb-05 17:14
Tee+18-Feb-05 17:14 
GeneralRe: How to make PropertyGrid pop up a dialog form Pin
lee meng19-Feb-05 3:40
lee meng19-Feb-05 3:40 
GeneralWait Timer Pin
Bob Bonser18-Feb-05 6:21
Bob Bonser18-Feb-05 6:21 
GeneralRe: Wait Timer Pin
Anonymous18-Feb-05 8:08
Anonymous18-Feb-05 8:08 
GeneralRe: Wait Timer Pin
Bob Bonser18-Feb-05 8:51
Bob Bonser18-Feb-05 8:51 
GeneralRe: Wait Timer Pin
Dave Kreskowiak18-Feb-05 9:03
mveDave Kreskowiak18-Feb-05 9:03 
GeneralRe: Wait Timer Pin
Bob Bonser18-Feb-05 9:10
Bob Bonser18-Feb-05 9:10 
QuestionHow can Zip a folder an runtime Pin
Amir Jalaly18-Feb-05 5:55
Amir Jalaly18-Feb-05 5:55 
AnswerRe: How can Zip a folder an runtime Pin
Rob Graham18-Feb-05 9:13
Rob Graham18-Feb-05 9:13 
GeneralRe: How can Zip a folder an runtime Pin
Larsenal18-Feb-05 10:26
Larsenal18-Feb-05 10:26 
GeneralRe: How can Zip a folder an runtime Pin
Rob Graham18-Feb-05 11:47
Rob Graham18-Feb-05 11:47 
GeneralRe: How can Zip a folder an runtime Pin
Larsenal18-Feb-05 13:17
Larsenal18-Feb-05 13:17 

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.