Word .NET > Tutorial > Create Table of Contents

The example shows you how to create simple Table of Contents. If you open document in Microsoft Word and want to update page numbers then press F9. See pictures below how document look like when you open it and press F9.

C# example
VB example