CJCoding With Joseph
15per day

Use var for Type Inference

The var keyword lets C# infer the type from the value. Use var to declare a variable holding 42 and print it:

42

Expected Output:

42
Topics:
Variables
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.