#763 – Fixing a Class Diagram that Cannot Find Types
If you create a class diagram that contains types found in assemblies that your project references, and then you leave the class diagram open when you close Visual Studio, you may see some errors in...
View Article#764 – Expanding All Classes in a Class Diagram
By default, when you add types to a class diagram, they are displayed collapsed, showing only the name of the type and the category (e.g. class, interface). You can expand individual types by clicking...
View Article#765 – Adding Base or Derived Classes to a Class Diagram
You can use the class diagram to follow the inheritance chain for any class currently in the diagram, moving up to the class’ base class or down to the classes that derive from the class. For example,...
View Article#766 – Adding an Interface to a Class Diagram
If you add a class to a class diagram and the class implements one or more interfaces, you’ll see the interfaces show up on the class with the standard interface designator (a short line with a circle...
View Article#770 – Use Intellisense to Get List of Methods to Override
In a derived class, you can override a member of the base class if it’s declared as virtual. In Visual Studio, the Intellisense feature can help you to discover the methods that can be overridden....
View Article#848 – Viewing the Call Stack in Visual Studio
The call stack keeps track of the currently executing method in your application, and from where that method was called. You can use the debugger in Visual Studio to view the current call stack when...
View Article#849 – Using the Call Stack in Visual Studio to Navigate within Your Code
When in break mode within Visual Studio, you can view the call stack in the Call Stack window. When you bring up the Call Stack window, there will be a yellow arrow pointing to the top of the call...
View Article#1,184 – Managing using Directives, part I
As you write code, Visual Studio will let you know that you’ve used an identifier that it doesn’t know by marking it with a red squiggly underline. Below, we’ve started creating a class that derives...
View Article#1,185 – Managing using Directives, part II
You can add missing using directives by using the Resolve command. You can also clean up the current list of using directives in a file, removing the ones that are no longer needed. You can remove...
View Article#1,213 – Visual Studio 2014 – Unused using Statements Greyed Out
In Visual Studio 2014, the editor will grey out any using statements that are not required. This is done at build time. Note that you can still use the Remove Unused Usings command to remove any...
View Article
More Pages to Explore .....