| [aus-dotnet] C# language questions.... |
- From: Mukesh R Bhakta
- Subject: [aus-dotnet] C# language questions....
- Date: Thu, 24 Mar 2005 10:14:57 +1100
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi guys, Couple of C# language questions: 1. Why doesn't C# allow multiple inheritance? If I try to derive class C from classes A and B I get a 'type in interface list is not an interface' error. If I change class B to an interface all works fine. 2. Why are all parent classes defaulted to public accessors when inherited. How about private and protected accessors? public class A : private B // error 3. Why are structs supported in C#? From the documentation they do not hold much value to classes so why have them? Are they any better in terms of performance? 4. What's the relevance of having string as wells as String? Cheers MB --- [This E-mail scanned for viruses by Declude] _________________ You are a part of the Australian "dotnet" mailing list. To unsubscribe send "unsubscribe dotnet" or to re-subscribe send "subscribe dotnet Your Name" in the body of the email to: imailsrv@xxxxxxxxxxx List managed by: http://www.stanski.com
(Click here for more information on the aus-dotnet mailling list)
- Follow-Ups:
- RE: [aus-dotnet] C# language questions...., Bill McCarthy
- RE: [aus-dotnet] C# language questions...., Mitch Denny
- References:
- RE: [aus-dotnet] Advice on Outlook calendar-like control, Stuart Kinnear
- Prev by Date: RE: [aus-dotnet] VS 2005 Pricing
- Next by Date: RE: [aus-dotnet] C# language questions....
- Previous by thread: RE: [aus-dotnet] Advice on Outlook calendar-like control
- Next by thread: RE: [aus-dotnet] C# language questions....
- Index(es):
