Is there any way to do something like this in C#?
        Posted  
        
            by Alon
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Alon
        
        
        
        Published on 2010-04-30T13:40:34Z
        Indexed on 
            2010/04/30
            13:47 UTC
        
        
        Read the original article
        Hit count: 209
        
c#
|parameters
Is there any way to do something like this in C#?
public void DoSomething(string parameterA, int parameterB)
{
}
var parameters = ("someValue", 5);
DoSomething(parameters);
        © Stack Overflow or respective owner