paramarray Questions
9
Solved
is it possible to pass all elements of an array to a ParamArray?
For example I'd like to pass a ParamArray to another ParamArray:
Sub test()
p1 "test", "banane", "birne"
End Sub
Sub p1(ParamArr...
Popeyed asked 26/12, 2013 at 10:24
2
Solved
Sounds simple enough, but its not working. In this example, I want to set the values of 3 fields to equal a 4th. I could do something like this....
Dim str1 As String = "1"
Dim str2 As String = "2...
Enantiomorph asked 16/3, 2009 at 12:34
1
I am writing a C# api client and for most of the post requests I used FormUrlEncodedContent to post the data.
List<KeyValuePair<string, string>> keyValues = new List<KeyValuePair&l...
Fibster asked 22/4, 2015 at 8:13
4
Solved
public ActionResult DoSomething(string[] arr, bool someBool, int someInt) { }
trying to call the above method from jQuery:
var test = [];
test.push('dog');
test.push('cat');
$container.load('MyC...
Madaih asked 15/10, 2010 at 12:57
2
Solved
What I used to have:
Public Sub Subscribe(channel As ChannelType)
Public Sub Subscribe(channels As IEnumerable(Of ChannelType))
The first one just calls the second one with {channel} to convert ...
Godwit asked 9/10, 2012 at 18:35
2
Solved
In F#, how do you curry a function that accepts a variable number of parameters?
I have code like this...(the log function is just an example, the exact implementation doesn't matter)
let log (ms...
Turnbow asked 21/6, 2012 at 19:47
1
© 2022 - 2024 — McMap. All rights reserved.