1

i need your help.

i have the following data structure in php:

    $conditions = array(
            "START" => array(
                "AND" => array(
                    array("=="  => array( 'SessionId' => session_id())),
                    array("<=" => array( 'LastAction'=> time()-SESSION_LIFETIME))
                    )
                )
            );

i need this code in c# now. i have tried a mix of list and dictionaries... now im totally confused and lost in this mix...

any ideas?

thanks :)

Paul

1 Answer 1

1

If you want to implement it as a data structure.

You should write your own class as a container class and it should contain another class, and it should contain another and another...

May be you can get help from generic Lists or other container classes of .NET Framework

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.