Click here to Skip to main content
15,905,967 members
Home / Discussions / C#
   

C#

 
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
AnswerRe: TypeInitializationException Pin
J4amieC2-Feb-07 2:18
J4amieC2-Feb-07 2:18 
GeneralRe: TypeInitializationException Pin
nasambur2-Feb-07 3:24
nasambur2-Feb-07 3:24 
QuestionListBox close Pin
quiteSmart1-Feb-07 23:47
quiteSmart1-Feb-07 23:47 
AnswerRe: ListBox close Pin
bobsugar2222-Feb-07 0:21
bobsugar2222-Feb-07 0:21 
GeneralRe: ListBox close Pin
quiteSmart2-Feb-07 1:15
quiteSmart2-Feb-07 1:15 
GeneralRe: ListBox close Pin
bobsugar2222-Feb-07 2:55
bobsugar2222-Feb-07 2:55 
AnswerRe: ListBox close Pin
Luc Pattyn2-Feb-07 0:23
sitebuilderLuc Pattyn2-Feb-07 0:23 
GeneralRe: ListBox close Pin
blue_arc2-Feb-07 1:34
blue_arc2-Feb-07 1:34 
AnswerRe: ListBox close Pin
J4amieC2-Feb-07 2:09
J4amieC2-Feb-07 2:09 
GeneralRe: ListBox close Pin
quiteSmart2-Feb-07 2:17
quiteSmart2-Feb-07 2:17 
QuestionSystem.Text.Encoding.Unicode.GetString() does not properly works in Vista... please help??? Pin
Waqas Nasir1-Feb-07 23:42
Waqas Nasir1-Feb-07 23:42 
QuestionResponse.redirect Pin
acodman1-Feb-07 23:22
acodman1-Feb-07 23:22 
AnswerRe: Response.redirect Pin
Christian Graus1-Feb-07 23:48
protectorChristian Graus1-Feb-07 23:48 
GeneralRe: Response.redirect Pin
acodman2-Feb-07 0:36
acodman2-Feb-07 0:36 
GeneralRe: Response.redirect Pin
Parwej Ahamad2-Feb-07 0:41
professionalParwej Ahamad2-Feb-07 0:41 
AnswerRe: Response.redirect Pin
Parwej Ahamad2-Feb-07 0:32
professionalParwej Ahamad2-Feb-07 0:32 
AnswerRe: Response.redirect Pin
Ajay R Ojha2-Feb-07 0:40
Ajay R Ojha2-Feb-07 0:40 

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.