Since you have C# code, why did you use the forum tag
for Visual Basic? You should remove that tag and use
the C# tag instead: dotnet-csharp
As to default in your code, it appears to be the
default literal case as described in the docs:
"Beginning with C# 7.1, you can use the default literal to
produce the default value of a type when the compiler can
infer the expression type. The default literal expression
produces the same value as the default(T) expression where
T is the inferred type."
So the line
return default;
should return the default value for whatever the return
type of the method in question has declared/defined.
- Wayne