Does anyone still use [goto] in C# and if so why?

There are some (rare) cases where goto can actually improve readability. In fact, the documentation you linked to lists two examples: A common use of goto is to transfer control to a specific switch-case label or the default label in a switch statement. The goto statement is also useful to get out of deeply nested … Read more

what is this oleaut32.dll?

oleaut32.dll it’s a library used in Microsoft for OLE technologies; OLE Automation You could check Microsoft to see if you find any support. Another link with alternatives is this. consider this: Important: Do not download oleaut32.dll from a “DLL download” website. There are many reasons why downloading a DLL file is a bad idea. If you need a copy of … Read more

What’s the difference between struct and class in .NET?

In .NET, there are two categories of types, reference types and value types. Structs are value types and classes are reference types. The general difference is that a reference type lives on the heap, and a value type lives inline, that is, wherever it is your variable or field is defined. A variable containing a value type contains the entire value type value. For a struct, that means that … Read more

How to resolve this System.IO.FileNotFoundException

I hate to point out the obvious, but System.IO.FileNotFoundException means the program did not find the file you specified. So what you need to do is check what file your code is looking for in production. To see what file your program is looking for in production (look at the FileName property of the exception), try these … Read more

Metadata file ‘.dll’ could not be found

Written Instructions: Right click on the solution and click Properties. Click Configuration on the left. Make sure the check box under “Build” for the project it can’t find is checked. If it is already checked, uncheck, hit apply and check the boxes again. (Optional) You had to do it for both Release and Debug modes … Read more