The following code shows how nested loops do not increment properly cognitive complexity in VB. The equivalent code in C# computes the cognitive complexity properly.
New List(Of String)({"ISS", "Sergey Prokopyev", "176"}), New List(Of String)({"ISS", "Dmitry Petelin", "176"}), New List(Of String)({"ISS", "Frank Rubio", "176 ...
Public Class UnitedStates public states as List(of State) End Class Public Class State public cities as List(of City) End Class Public Class City public population End Class Public Class Main Shared ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する