Click here to Skip to main content
15,913,115 members
Home / Discussions / C#
   

C#

 
GeneralRe: Transparent Overlapping Panels Problem... Pin
rcurrie25-Jul-05 14:02
rcurrie25-Jul-05 14:02 
GeneralRe: Transparent Overlapping Panels Problem... Pin
[Marc]26-Jul-05 7:55
[Marc]26-Jul-05 7:55 
GeneralRe: Transparent Overlapping Panels Problem... Pin
rcurrie2-Aug-05 14:04
rcurrie2-Aug-05 14:04 
GeneralRe: Transparent Overlapping Panels Problem... Pin
[Marc]3-Aug-05 1:05
[Marc]3-Aug-05 1:05 
GeneralRe: Transparent Overlapping Panels Problem... Pin
rcurrie4-Aug-05 11:20
rcurrie4-Aug-05 11:20 
GeneralRe: Transparent Overlapping Panels Problem... Pin
[Marc]4-Aug-05 14:08
[Marc]4-Aug-05 14:08 
GeneralRadio_Buttons Pin
_Sirrius20-Jul-05 11:58
_Sirrius20-Jul-05 11:58 
Generalinitializing data members in a class Pin
Dragan Matic20-Jul-05 11:41
Dragan Matic20-Jul-05 11:41 
How do I exactly do it?

I am just learning C#, I have a C++ background and in C++ it was something like this:

class someclass {
public:
int somemember;
someclass(int i)
}

someclass::someclass (int i) :
somemember(i)
{
}

Is there something similar in C# or is this enough?

class someclass
public int somemember;
public someclass(int i)
{
somemember = i;
}
}

Tnx

Dragan

GeneralRe: initializing data members in a class Pin
Alomgir Miah20-Jul-05 12:07
Alomgir Miah20-Jul-05 12:07 
GeneralC# newbie question Pin
Tom Wright20-Jul-05 11:20
Tom Wright20-Jul-05 11:20 
GeneralRe: C# newbie question Pin
Christian Graus20-Jul-05 12:48
protectorChristian Graus20-Jul-05 12:48 
GeneralDatagrid question Pin
Tom Wright20-Jul-05 10:47
Tom Wright20-Jul-05 10:47 
GeneralRe: Datagrid question Pin
Alomgir Miah20-Jul-05 12:01
Alomgir Miah20-Jul-05 12:01 
GeneralReading custom attributes in ReflectionOnly mode Pin
Daniel Grunwald20-Jul-05 10:18
Daniel Grunwald20-Jul-05 10:18 
GeneralRe: Reading custom attributes in ReflectionOnly mode Pin
leppie20-Jul-05 10:35
leppie20-Jul-05 10:35 
GeneralRe: Reading custom attributes in ReflectionOnly mode Pin
Daniel Grunwald20-Jul-05 10:49
Daniel Grunwald20-Jul-05 10:49 
GeneralTabControl Question Pin
zaboboa20-Jul-05 9:05
zaboboa20-Jul-05 9:05 
GeneralRe: TabControl Question Pin
Alomgir Miah20-Jul-05 10:19
Alomgir Miah20-Jul-05 10:19 
Generalthree dimentional array loops problem Pin
iramg20-Jul-05 8:47
iramg20-Jul-05 8:47 
GeneralRe: three dimentional array loops problem Pin
YawgmothIII20-Jul-05 10:03
YawgmothIII20-Jul-05 10:03 
Generalgetting an enviorment variable Pin
Bic2k20-Jul-05 8:44
Bic2k20-Jul-05 8:44 
GeneralRe: getting an enviorment variable Pin
Bic2k20-Jul-05 8:57
Bic2k20-Jul-05 8:57 
GeneralRe: getting an enviorment variable Pin
Alomgir Miah20-Jul-05 10:00
Alomgir Miah20-Jul-05 10:00 
GeneralRe: getting an enviorment variable Pin
Vasudevan Deepak Kumar21-Jul-05 3:16
Vasudevan Deepak Kumar21-Jul-05 3:16 
Generalnetwork discovery Pin
ingenious^^20-Jul-05 8:27
ingenious^^20-Jul-05 8:27 

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.