Click here to Skip to main content
15,908,013 members
Home / Discussions / C#
   

C#

 
GeneralRe: Graph data structure Pin
Ryan Roberts5-Apr-05 0:00
Ryan Roberts5-Apr-05 0:00 
QuestionMS Word busy flag ? Pin
fracalifa4-Apr-05 20:18
fracalifa4-Apr-05 20:18 
GeneralDropdownlist problems Pin
brian554-Apr-05 18:45
brian554-Apr-05 18:45 
QuestionSome problem with my web form ? Pin
tutananthanh4-Apr-05 18:38
tutananthanh4-Apr-05 18:38 
Generaldataset+xml schema Pin
Dpriya4-Apr-05 18:07
Dpriya4-Apr-05 18:07 
GeneralRe: dataset+xml schema Pin
Kodanda Pani6-Apr-05 1:37
Kodanda Pani6-Apr-05 1:37 
GeneralPersisting properties Pin
chettu4-Apr-05 18:06
chettu4-Apr-05 18:06 
GeneralRe: Persisting properties Pin
Ashok Dhamija4-Apr-05 18:52
Ashok Dhamija4-Apr-05 18:52 
Apparently, the problem may be due to the fact that Visual C# does not allow you to create parameterized properties except for the indexer. The indexer is a specialized property that allows one to expose a group of values or objects on the name of the object. The name used in the indexer is required to be "this", i.e., the name of the object itself would be required to be used to access the property. An example would be like this:

//declare an array for values to be exposed by Indexer
private int[] myArray;
//Now use the index variable to retrieve the correct from the array by defining the property as under
public int this[int index]
{
   get
   {
      return myArray[index];
   }
   set
   {
      myArray[index] = value;
   }
}


Try the above method and see whether it works.
GeneralRe: Persisting properties Pin
chettu4-Apr-05 19:29
chettu4-Apr-05 19:29 
GeneralRe: Persisting properties Pin
spif20014-Apr-05 19:53
spif20014-Apr-05 19:53 
GeneralRe: Persisting properties Pin
Ashok Dhamija4-Apr-05 20:39
Ashok Dhamija4-Apr-05 20:39 
GeneralAdding a delay in a loop Pin
jctk4-Apr-05 14:00
jctk4-Apr-05 14:00 
GeneralRe: Adding a delay in a loop Pin
Luis Alonso Ramos4-Apr-05 14:53
Luis Alonso Ramos4-Apr-05 14:53 
GeneralRe: Adding a delay in a loop Pin
cishi_us5-Apr-05 8:19
cishi_us5-Apr-05 8:19 
GeneralRe: Adding a delay in a loop Pin
Luis Alonso Ramos5-Apr-05 8:33
Luis Alonso Ramos5-Apr-05 8:33 
GeneralRe: Adding a delay in a loop Pin
S. Senthil Kumar4-Apr-05 18:15
S. Senthil Kumar4-Apr-05 18:15 
GeneralRe: Adding a delay in a loop Pin
Colin Angus Mackay5-Apr-05 0:15
Colin Angus Mackay5-Apr-05 0:15 
GeneralRe: Adding a delay in a loop Pin
S. Senthil Kumar5-Apr-05 1:19
S. Senthil Kumar5-Apr-05 1:19 
GeneralEvent tab of the PropertyGrid in desing time Pin
rakat334-Apr-05 13:12
rakat334-Apr-05 13:12 
GeneralActive X Pin
webhay4-Apr-05 11:21
webhay4-Apr-05 11:21 
GeneralRe: Active X Pin
Ashok Dhamija4-Apr-05 18:00
Ashok Dhamija4-Apr-05 18:00 
Generalimproper fraction to a mixed number Pin
jeffreylreed4-Apr-05 11:11
jeffreylreed4-Apr-05 11:11 
GeneralRe: improper fraction to a mixed number Pin
Ashok Dhamija4-Apr-05 18:24
Ashok Dhamija4-Apr-05 18:24 
GeneralDesign time child controls Pin
_eulogy_4-Apr-05 9:51
_eulogy_4-Apr-05 9:51 
Generalopen an IE Authentication window from code Pin
Member 13906014-Apr-05 9:46
Member 13906014-Apr-05 9:46 

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.