Autor Beitrag
Hajoseb
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 42



BeitragVerfasst: So 24.06.07 20:03 
Die zweite Frage, die ich noch nicht "verständlich" ermitteln konnte:

Wann benutze ich static ???

Im Prinzip würde es ja auch ohne gehen, oder? ... Aber wann sollte man es einsetzen?

Mfg Hajoseb

Moderiert von user profile iconChristian S.: Titel geändert.
Robert_G
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 416


Delphi32 (D2005 PE); Chrome/C# (VS2003 E/A, VS2005)
BeitragVerfasst: Mo 25.06.07 18:03 
Du benutzt es immer dann wenn keine Referenz auf die eigene Instanz nötig ist und wenn du keine Methode überschreiben musst.
Hajoseb Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 42



BeitragVerfasst: Mo 25.06.07 19:56 
Danke :wink:

Werde ich mir gleich in meien Cucards über c# notieren :)