Using template collection state functions Index(), IsFirst() and IsLast()

DOCX PDF C# VB