Click here to Skip to main content
15,923,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: Invoking function from out of process DLL Pin
Judah Gabriel Himango2-Feb-07 6:33
sponsorJudah Gabriel Himango2-Feb-07 6:33 
GeneralRe: Invoking function from out of process DLL Pin
Abhi Lahare5-Feb-07 9:21
Abhi Lahare5-Feb-07 9:21 
GeneralRe: Invoking function from out of process DLL Pin
Judah Gabriel Himango5-Feb-07 9:43
sponsorJudah Gabriel Himango5-Feb-07 9:43 
Questioncompact framework Pin
Edwin_Olo2-Feb-07 3:12
Edwin_Olo2-Feb-07 3:12 
AnswerRe: compact framework Pin
george ivanov2-Feb-07 3:20
george ivanov2-Feb-07 3:20 
GeneralRe: Which user has the file open? Pin
RugbyLeague2-Feb-07 2:32
RugbyLeague2-Feb-07 2:32 
Questionjavascript code Pin
acodman2-Feb-07 2:21
acodman2-Feb-07 2:21 
AnswerRe: javascript code Pin
Ravi Bhavnani2-Feb-07 3:00
professionalRavi Bhavnani2-Feb-07 3:00 
GeneralRe: javascript code Pin
badgrs2-Feb-07 4:14
badgrs2-Feb-07 4:14 
QuestionHow to set CurrentCell in DataGrid Pin
george ivanov2-Feb-07 2:11
george ivanov2-Feb-07 2:11 
AnswerRe: How to set CurrentCell in DataGrid Pin
andre_swnpl2-Feb-07 2:21
andre_swnpl2-Feb-07 2:21 
GeneralRe: How to set CurrentCell in DataGrid Pin
george ivanov2-Feb-07 2:38
george ivanov2-Feb-07 2:38 
QuestionGet parameters in Windows Forms App Pin
blackjack21502-Feb-07 1:59
blackjack21502-Feb-07 1:59 
AnswerRe: Get parameters in Windows Forms App Pin
andre_swnpl2-Feb-07 2:12
andre_swnpl2-Feb-07 2:12 
GeneralRe: Get parameters in Windows Forms App Pin
bobsugar2222-Feb-07 3:28
bobsugar2222-Feb-07 3:28 
GeneralRe: Get parameters in Windows Forms App Pin
blackjack21502-Feb-07 3:48
blackjack21502-Feb-07 3:48 
Question.NET Crystal Report Pin
rswamy702-Feb-07 1:44
rswamy702-Feb-07 1:44 
AnswerRe: .NET Crystal Report Pin
parsiphal2-Feb-07 1:55
parsiphal2-Feb-07 1:55 
GeneralRe: .NET Crystal Report Pin
rswamy702-Feb-07 2:20
rswamy702-Feb-07 2:20 
QuestionSmtp Server Pin
snouto2-Feb-07 1:19
snouto2-Feb-07 1:19 
AnswerRe: Smtp Server Pin
led mike2-Feb-07 5:24
led mike2-Feb-07 5:24 
Questionupload progressbar control Pin
Ajay R Ojha2-Feb-07 0:33
Ajay R Ojha2-Feb-07 0:33 
AnswerRe: upload progressbar control Pin
Christian Graus2-Feb-07 0:45
protectorChristian Graus2-Feb-07 0:45 
AnswerRe: upload progressbar control Pin
blue_arc2-Feb-07 0:55
blue_arc2-Feb-07 0:55 
QuestionTypeInitializationException Pin
nasambur2-Feb-07 0:28
nasambur2-Feb-07 0:28 
Hi,

i hav two classes as following;

class1.cs
----------
namespace NAS
{
// fields
// properties

public class Class1
{
public Class1() {}
}

// member methods
// ...
}



class2.cs
-----------
namespace NAS
{
public class Class2
{
private Class1 class1Obj;

public void Meth()
{
class1Obj = new Class1(); // here i get an error
} // it throws TypeInitializationException
}
}

when i create an object of Class1 under Class2, i m getting
TypeInitializationException.
But i hav referred the class corretly in Reference..

Please help me..
Confused | :confused: NAS

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.