troubleshooting Question

Warnings about "unused variables" in .Net 4.0 Framework

Avatar of stoneycurtis
stoneycurtis asked on
.NET ProgrammingVisual Basic.NET
10 Comments2 Solutions767 ViewsLast Modified:
I'm playing around with Visual Basic code to generate Sudoku puzzles, the code was originally written for the .Net 2.0 Framework and it works correctly there. I'm building my version as a Visual Studio 2010 project using the .Net 4.0 Framework. The only problem I've ran into are the 2 warnings about "unused variable" as shown in the screenshot. When I run the application this portion of the code will not work correctly and the board will not initialize.
Why can't .Net 4.0 compile this correctly?
I'm quite new at VB and .Net programming so if this is a dumb question I apologize in advance.
Thanks for any help you might give. VS2010 showing "unused variables"
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros