looping a dumb question :)

using UnityEngine;
using System.Collections;

public class Loopingtest : MonoBehaviour
{

int number = 11;

void Start ()

{

while (number < 10)

{

 Debug.Log (number);

  number--;

}

}

void Update () {

}

}

i know it is a dumb question , but i would like to study in deep the loop

i would like to know why the result is 11?

You are setting the initial value of number to 11. The while loop runs when number is snaller than 10, so it doesn’t run a single time, thus number retains its original value.