Click here to Skip to main content
15,900,504 members
Home / Discussions / C#
   

C#

 
GeneralRe: value type inheritance Pin
S. Senthil Kumar9-May-08 0:45
S. Senthil Kumar9-May-08 0:45 
GeneralRe: value type inheritance Pin
Roger Alsing8-May-08 0:43
Roger Alsing8-May-08 0:43 
GeneralRe: value type inheritance Pin
George_George8-May-08 3:03
George_George8-May-08 3:03 
GeneralRe: value type inheritance Pin
S. Senthil Kumar8-May-08 6:21
S. Senthil Kumar8-May-08 6:21 
GeneralRe: value type inheritance Pin
George_George8-May-08 21:49
George_George8-May-08 21:49 
GeneralRe: value type inheritance Pin
S. Senthil Kumar9-May-08 0:42
S. Senthil Kumar9-May-08 0:42 
GeneralRe: value type inheritance Pin
George_George10-May-08 21:57
George_George10-May-08 21:57 
AnswerRe: value type inheritance Pin
N a v a n e e t h8-May-08 3:22
N a v a n e e t h8-May-08 3:22 
George_George wrote:
We can not inherit one value type from another, for example, we can not make a struct inherit from another struct; -- I think it means there is no inheritance or derivation for value types.


Yes. Value types are not possible to inherit. You can use interfaces and implement it on a structure though.

George_George wrote:
All value types are inherits from ValueType, and ValueType is inherits from Object, seems value types could have inheritance or derivation?


Do you know System.ValueType is a class ? Not all value types are inherited from System.ValueType. There are some built in value types like integer. When you write a structure, it will be inherited from System.ValueType.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

GeneralRe: value type inheritance Pin
George_George8-May-08 3:33
George_George8-May-08 3:33 
QuestionFlicker with transparent labels on different panels Pin
Sukhjinder_K7-May-08 23:08
Sukhjinder_K7-May-08 23:08 
AnswerRe: Flicker with transparent labels on different panels Pin
phannon867-May-08 23:10
professionalphannon867-May-08 23:10 
GeneralNo change on Suspend/Resume Layout Pin
Sukhjinder_K7-May-08 23:16
Sukhjinder_K7-May-08 23:16 
GeneralRe: No change on Suspend/Resume Layout Pin
phannon867-May-08 23:26
professionalphannon867-May-08 23:26 
GeneralDoesnt work Pin
Sukhjinder_K7-May-08 23:28
Sukhjinder_K7-May-08 23:28 
GeneralSome workarounds... Pin
Sukhjinder_K9-May-08 2:54
Sukhjinder_K9-May-08 2:54 
QuestionDrag & Drop & More Pin
willy20057-May-08 23:07
willy20057-May-08 23:07 
QuestionHow to delete Cookies Pin
Waheed Ur Rehman7-May-08 22:38
Waheed Ur Rehman7-May-08 22:38 
AnswerRe: How to delete Cookies Pin
Ashfield7-May-08 23:56
Ashfield7-May-08 23:56 
GeneralRe: How to delete Cookies Pin
Waheed Ur Rehman9-May-08 2:04
Waheed Ur Rehman9-May-08 2:04 
AnswerRe: How to delete Cookies Pin
Ashfield9-May-08 22:37
Ashfield9-May-08 22:37 
GeneralRe: How to delete Cookies Pin
boblaw9911-May-08 16:16
boblaw9911-May-08 16:16 
QuestionProcess.Start() Issue Pin
Harvey Saayman7-May-08 22:27
Harvey Saayman7-May-08 22:27 
QuestionRe: Process.Start() Issue Cont.... Pin
Harvey Saayman7-May-08 22:38
Harvey Saayman7-May-08 22:38 
AnswerRe: Process.Start() Issue Pin
Spunky Coder7-May-08 22:39
Spunky Coder7-May-08 22:39 
GeneralRe: Process.Start() Issue Pin
Harvey Saayman7-May-08 22:43
Harvey Saayman7-May-08 22:43 

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.