Strict header in C# and VB templates

fixes #18