')'预期错误 - VB.net

时间:2016-02-16 02:29:49

标签: vb.net

我一直在Bold角色上遇到此')' expected错误。有人能帮我吗。

Private msngSingle (,) As Single = ((51**,** 0, 0, 0),
    (552, 0, 0.15, 51), 
    (1196, 75.15, 0.28, 552), 
    (2662, 255.47, 0.31, 2662), 
    (5750, 709.93, 0.36, 2662),
    (99999, 1821.61, 0.396, 5750))

Private msngMarried (,) As Single = ((124**,** 0, 0, 0),
    (960, 0, 0.15, 124), 
    (2023, 125.4, 0.28, 960), 
    (3292, 423.04, 0.31, 2023), 
    (5809, 816.43, 0.36, 3292), 
    (99999, 1722.55, 0.396, 5809))

1 个答案:

答案 0 :(得分:3)

你需要在文字数组而不是括号上使用大括号,即{}而不是()。