Ryan Price
Ryan Price
The code doesn't have any logic around these fields - it relies on the JSON deserialization to get the data. This is arguably a shortcoming of the data coming from...
There are a couple of standard methods that will handle this without requiring a custom method: https://docs.microsoft.com/en-us/dotnet/api/system.web.httputility.urlencode https://docs.microsoft.com/en-us/dotnet/api/system.net.webutility.urlencode while you spotted a problem with ampersands, there may be other characters...
In the main project guidelines: > ### Project goals > Feel free to begin converting these classic games into the above list of modern, memory safe languages. > ... >...
or use the 'language integrated' query syntax. ``` VB Dim x = From i In items Select i.id Dim y = From i In items Select i.id & ", "...
> > LinQ which is less typing than current lambda syntax > > LinQ is a bit easier but is never less typing than lambdas syntax! Really? I literally gave...
No self-respecting method would require the use of List(Of Integer) or List(Of String) as parameters. The correct thing to use is IEnumerable(Of T). This works today: ```VB Sub Main Call...
P.S. If that's not what you mean, then you need to provide a better example of the problem you're trying to address.
> So, you use an array, then convert it to a list, then pass it as enumerable? I think you've mixed up my two examples. Your example uses an array...
> @pricerc > > > Your example uses an array (that's what {1, 2} is, an array), and converts it to a List, and then passes it as as List:...
> but `{1,2}.ToList()` will not work, and even it did by some special twists, it will be confusing and misleading, since no List is involved here. I don't want to...