Click here to Skip to main content
15,895,839 members
Home / Discussions / C#
   

C#

 
QuestionThe type initializer threw an exception? Pin
dec8224-May-09 16:57
dec8224-May-09 16:57 
AnswerRe: The type initializer threw an exception? Pin
_Maxxx_24-May-09 19:32
professional_Maxxx_24-May-09 19:32 
GeneralRe: The type initializer threw an exception? Pin
dec8224-May-09 19:50
dec8224-May-09 19:50 
GeneralRe: The type initializer threw an exception? Pin
_Maxxx_25-May-09 12:10
professional_Maxxx_25-May-09 12:10 
AnswerRe: The type initializer threw an exception? Pin
Ramesh Swaminathan24-May-09 19:56
Ramesh Swaminathan24-May-09 19:56 
AnswerRe: The type initializer threw an exception? Pin
S. Senthil Kumar24-May-09 22:36
S. Senthil Kumar24-May-09 22:36 
Questionhow to access CSP? Pin
devvvy24-May-09 16:32
devvvy24-May-09 16:32 
Questionthis as parameter Pin
mark_me24-May-09 16:03
mark_me24-May-09 16:03 
Hi,
while working with an application , i came across method signature that used 'this' keyword. I googled alot but coudn't find any article that provided help, would anybody over here please tell me or either forwrd me an article that explains this method description. thankou

public static bool IsPart(this Product product)
{
try
{

return product.isPart.Value == "true" ? true : false;
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
return false;
}
}

though, i have pasted the whole method but i am confused with function signature . Thanx for providing help
AnswerRe: this as parameter Pin
Luc Pattyn24-May-09 16:07
sitebuilderLuc Pattyn24-May-09 16:07 
GeneralRe: this as parameter Pin
mark_me25-May-09 12:18
mark_me25-May-09 12:18 
GeneralRe: this as parameter Pin
Luc Pattyn25-May-09 12:30
sitebuilderLuc Pattyn25-May-09 12:30 
QuestionDetecting The Debug Version Pin
BlitzPackage24-May-09 15:01
BlitzPackage24-May-09 15:01 
AnswerRe: Detecting The Debug Version Pin
Luc Pattyn24-May-09 16:05
sitebuilderLuc Pattyn24-May-09 16:05 
AnswerRe: Detecting The Debug Version Pin
_Maxxx_24-May-09 16:52
professional_Maxxx_24-May-09 16:52 
AnswerRe: Detecting The Debug Version Pin
BlitzPackage24-May-09 17:11
BlitzPackage24-May-09 17:11 
Question.Net WebBrowser control wont instanciate on form in new thread? Pin
Abydosgater24-May-09 11:51
Abydosgater24-May-09 11:51 
AnswerRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Manas Bhardwaj24-May-09 11:54
professionalManas Bhardwaj24-May-09 11:54 
AnswerRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Luc Pattyn24-May-09 12:05
sitebuilderLuc Pattyn24-May-09 12:05 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Abydosgater25-May-09 4:18
Abydosgater25-May-09 4:18 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Luc Pattyn25-May-09 4:31
sitebuilderLuc Pattyn25-May-09 4:31 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Abydosgater25-May-09 4:48
Abydosgater25-May-09 4:48 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Luc Pattyn25-May-09 5:35
sitebuilderLuc Pattyn25-May-09 5:35 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Abydosgater25-May-09 6:15
Abydosgater25-May-09 6:15 
GeneralRe: .Net WebBrowser control wont instanciate on form in new thread? Pin
Luc Pattyn25-May-09 6:38
sitebuilderLuc Pattyn25-May-09 6:38 
QuestionAsyncCompletedEventHandler Not Firing... Pin
Fudge Mutator24-May-09 11:21
Fudge Mutator24-May-09 11: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.