Posts Tagged "C# .NET interview questions"

C# .NET interview questions

Are private class-level variables inherited? Yes, but they are not accessible, so looking at it you can honestly say that they are not inherited. But they are. Why does DllImport not work for me? All methods marked with the DllImport attribute must be marked as public static extern. Why does my Windows application pop up a console window every time I run it? Make sure that the target type set in the project properties setting is set to Windows Application,…

Read More