Click here to Skip to main content
15,904,828 members
Home / Discussions / C#
   

C#

 
GeneralRe: Combining two db columns in one dropdown list Pin
Heath Stewart27-Apr-04 4:22
protectorHeath Stewart27-Apr-04 4:22 
GeneralAutomatic program starting Pin
bsargos27-Apr-04 3:46
bsargos27-Apr-04 3:46 
GeneralRe: Automatic program starting Pin
Jon G27-Apr-04 3:49
Jon G27-Apr-04 3:49 
GeneralRe: Automatic program starting Pin
bsargos27-Apr-04 4:14
bsargos27-Apr-04 4:14 
GeneralRe: Automatic program starting Pin
Dave Kreskowiak27-Apr-04 4:32
mveDave Kreskowiak27-Apr-04 4:32 
GeneralRe: Automatic program starting Pin
Judah Gabriel Himango27-Apr-04 5:13
sponsorJudah Gabriel Himango27-Apr-04 5:13 
GeneralRe: Automatic program starting Pin
bsargos27-Apr-04 9:51
bsargos27-Apr-04 9:51 
GeneralRe: Automatic program starting Pin
scadaguy27-Apr-04 5:24
scadaguy27-Apr-04 5:24 
GeneralRe: Automatic program starting Pin
bsargos27-Apr-04 21:40
bsargos27-Apr-04 21:40 
QuestionDataGridColumnStyle - anyone written a real one? Pin
OldRoj27-Apr-04 2:58
OldRoj27-Apr-04 2:58 
AnswerRe: DataGridColumnStyle - anyone written a real one? Pin
Heath Stewart27-Apr-04 3:14
protectorHeath Stewart27-Apr-04 3:14 
GeneralRe: DataGridColumnStyle - anyone written a real one? Pin
OldRoj27-Apr-04 7:03
OldRoj27-Apr-04 7:03 
Generalmatrix multiplication in 3*3d enter by the user Pin
kcal27-Apr-04 2:36
kcal27-Apr-04 2:36 
GeneralRe: matrix multiplication in 3*3d enter by the user Pin
Heath Stewart27-Apr-04 3:19
protectorHeath Stewart27-Apr-04 3:19 
Generalsend xml Pin
hmdhmd27-Apr-04 1:56
hmdhmd27-Apr-04 1:56 
GeneralRe: send xml Pin
Heath Stewart27-Apr-04 3:23
protectorHeath Stewart27-Apr-04 3:23 
GeneralAxHost Pin
ouysal27-Apr-04 1:01
ouysal27-Apr-04 1:01 
GeneralRe: AxHost Pin
Heath Stewart27-Apr-04 3:26
protectorHeath Stewart27-Apr-04 3:26 
Generallist all machines on local domain with c# Pin
doph27-Apr-04 0:48
doph27-Apr-04 0:48 
GeneralRe: list all machines on local domain with c# Pin
Heath Stewart27-Apr-04 3:34
protectorHeath Stewart27-Apr-04 3:34 
GeneralFunny Exception Pin
sreejith ss nair27-Apr-04 0:45
sreejith ss nair27-Apr-04 0:45 
GeneralRe: Funny Exception Pin
Mike Dimmick27-Apr-04 0:55
Mike Dimmick27-Apr-04 0:55 
GeneralRe: Funny Exception Pin
Colin Angus Mackay27-Apr-04 1:42
Colin Angus Mackay27-Apr-04 1:42 
sreejith ss nair wrote:
So you are agreeing with this concept that, Exception is a Class

I don't need to agree with it. It is fact. I could disagree until I was blue in the face, but it would remain a fact that Exception is a class.


sreejith ss nair wrote:
How can I call a property of a class without creating an instance of that class ?

You can't the C# compiler won't allow it. You are confusing the fact that you don't see the object being created. In this example you do:
1: try
2: {
3:     throw(new Exception())
4: }
5: catch(Exception ex)
6: {
7:     Console.WriteLine(ex.Message);
8: }


sreejith ss nair wrote:
I think we can dispose instances of any class. What about the dispose method for an exception class ?

Just think I am creating one instance of Exception class (ins1).
How GC will destruct the inc1. When it destruct ?


Like all objects in the .NET Framework - When the garbage collector chooses to. It is a non-deterministic function so you cannot determine when it is destroyed.


"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar

Coming soon: The Second EuroCPian Event


GeneralRe: Funny Exception Pin
Heath Stewart27-Apr-04 3:50
protectorHeath Stewart27-Apr-04 3:50 
GeneralCalling an exported Function - Issue with different calling convention in C# Pin
Vini Deep27-Apr-04 0:21
Vini Deep27-Apr-04 0:21 

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.