| 1 | <h2>Full example</h2> |
| 2 | <pre><code><#@ template hostspecific="false" language="VB" #> |
| 3 | <#@ assembly name="System.Core.dll" #> |
| 4 | <#@ output extension=".txt" #> |
| 5 | <# |
| 6 | Imports System.Collections.Generic |
| 7 | |
| 8 | Dim numbers() As Integer = { 0, 1, 2, 3, 4, 5, 6, 8, 9, 10 } |
| 9 | ' not including 7 |
| 10 | |
| 11 | For Each i In numbers |
| 12 | #> |
| 13 | The square of <#= i #> is <#= i * i #> |
| 14 | <# |
| 15 | Next |
| 16 | #></code></pre> |