What happens to the board if you connect the +5V pin directly to a digital input configured as input I have maybe a very stupid question but connecting the +5V pin to a digital input pin programmed as input ( let's say pin2) . Will it destroy the board? Cause after i did this my board doesn't work anymore and i can also not upload a sketch to it. it does nothing anymore, yet nothing has burned or no smoke. 

??

Thanks
Will it destroy the board?


No, it will just read HIGH. That's what HIGH is - 5V.


  Cause after i did this my board doesn't work anymore


Then you probably did something else.