S Shawn B. Jul 30, 2003 #1 How do I set a default property in C#? In VB we use the default keyword before the property. Thanks, Shawn
How do I set a default property in C#? In VB we use the default keyword before the property. Thanks, Shawn
F Frank Oquendo Jul 30, 2003 #2 Shawn said: How do I set a default property in C#? In VB we use the default keyword before the property. Click to expand... ..NET does not support default properties.
Shawn said: How do I set a default property in C#? In VB we use the default keyword before the property. Click to expand... ..NET does not support default properties.
M Mattias Sjögren Jul 30, 2003 #3 Shawn, How do I set a default property in C#? In VB we use the default keyword before the property. Click to expand... You use indexer syntax: public string this[int idx] { get { ... } set { ... } } Mattias
Shawn, How do I set a default property in C#? In VB we use the default keyword before the property. Click to expand... You use indexer syntax: public string this[int idx] { get { ... } set { ... } } Mattias