Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Implementation edit is for fixing errors and enhancing with metadata.

Instead of changing the code of the snippet, consider creating another VB implementation.

Other implementations
n := len(x)
int n = x.size();
int n = x.length;
size_t n = x.size();
n := length(x);
auto n = x.length;
n = len(x)
var n = x.length;
my $N = @x;
using System.Collections.Generic;
int n = x.Count;
n = length x
(setf n (length x))
n = x.length
let n = x.len();

n = Enum.count(x)
with Ada.Containers.Vectors;
use Ada.Containers;
N : Count_Type := X.Length;
$n = count($x);
N = length(X).
local n = #x
import std.range.primitives;
n = walkLength(x);
size_t n = sizeof(x)/sizeof(*x);
int n = x.Length;
(define n (length x))
val n = x.size
int n = x.length;
(def n (count x))
n = size(x)
val n = x.size
$n = scalar @x;
@import Foundation;
NSUInteger n=x.count;
def n = x.size()