VBLINQで直積
''' <summary>
''' http://qiita.com/shinaisan/items/d57bc231ac0a9a340184
''' </summary>
''' <remarks></remarks>
Module Module1
Sub Main()
Dim grades As String() = {"1年", "2年", "3年"}
Dim classes As String() = {"A組", "B組", "C組"}
Dim GradeClass = From g In grades
From c In classes
Select New With {.grade1 = g, .class1 = c, .text = (g & c)}
For Each n In GradeClass
Console.WriteLine(n.text)
Next
Console.ReadLine()
End Sub
End Module
Author And Source
この問題について(VBLINQで直積), 我々は、より多くの情報をここで見つけました https://qiita.com/jTakasuRyuji/items/55e8b5ea94ceab74d937著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .