0

I was reading some C# code and I ran into "=>" in variable declaration and i never saw it before, can anybody explain it

    public int Health;
    public bool IsAlive => Health > 0;

so what does the second line mean?

0 Answers0