Sorry,but i'm not quite satisfied with the answer given by you.alkyl groups do generally act as electron donating groups but i guess when attached to a

system they behave so because of resonance or hybridisation.(may be most probably due to resonance ).but that is what i am confused about and it would be really good if u could help me understand thiswith the help of an example or if you think i am wrong plz.. let me know.