Loading [Contrib]/a11y/accessibility-menu.js
Back
Close

C# Prefix

amiedd
826 views

C# Prefix

AmieDD www.amiedd.com

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrefixForm
{
class Program
{
static void Main(string[] args)
{
int x = 3;
int y = ++x;
Console.WriteLine(x+" "+y);
}
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Amie's In-Game Hint

C# Prefix - Prefix increments the value then proceeds with the expression.

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants