Language version

Hello coders,

What version of VB.NET is used?
More specifically, why does this code not compile?

Imports System.Linq


Module Solution
' Auto-generated code below aims at helping you parse
' the standard input according to the problem statement.

    Sub Main ()
        
        Dim n as Integer
        n = Console.ReadLine() ' the number of temperatures to analyse

        Dim temps as String = Console.ReadLine() ' the n temperatures expressed as integers ranging from -273 to 5526
        Dim tempList As IList(Of Integer) = 
            (From t In temps.Split(" "c) Select Integer.Parse(t)).ToList()
        
        Dim res As Integer = 0

        ' Write an action using Console.WriteLine()
        ' To debug: Console.Error.WriteLine("Debug messages...")

        Console.WriteLine(res)
    End Sub
End Module

VB.NET Compiler Visual Basic 8 (Mono 3.2.8, .NET 4.5) 768Mo

More info: https://www.codingame.com/faq

And VB version 8 was released with Visual Studio 2005 and didn’t support Linq. I do hope CG updates to at least VB 9 soon :slight_smile:

Hi! When will a VB-Compiler be available that is more up-to-date? Some useful Functions like LINQ cannot be used at the moment.

Can someone tell me if the use of a more up-to-date VB.NET-compiler will be possible somewhen? Thank you!