Programming in vb.net: Question about this line of code in AppSettingsReader on newest questions tagged vb.net – Stack Overflow
I was reading this example: http://blog.ondrejsv.com/post/AppSettingsReader-and-reading-typed-and-nullable-application-settings.aspx and I noticed in this line of code:
int failCount = (int) appSettingsReader.GetValue("FailAttemptCount", typeof(int));
I don’t understand why there is a (int) before appSettingsReader, what it does, etc.
See Answers
source: http://stackoverflow.com/questions/7448739/question-about-this-line-of-code-in-appsettingsreader
Programming in vb.net: programming-in-vb-net
Only a smiling visitor here to share the love (:, btw outstanding style . “People forget how fast you did a job – but they remember how well you did it.” by Howard Newton.