Chosen Solution

while making brightness level to low a pinkish line appers on the top of display and window freezes and shut down but if i increse brightness to high it goes away but after using on full brightness after sometimes suddenly window freezes and shutdown.

could be the LCD panel or the GPU. Connect an external monitor. If that show a good picture you know it is most likely your LCD panel that needs replacing. If the external monitor is showing the same issues, you have having problems with the GPU on the logic board and will have to at least disassemble your laptop to inspect. Hope this helps, good luck.