I am currently on a student visa.
I wish to marry a person with a green card.

That is once we are married i can stay in the USA and work until i get my green card?
(I know this takes a long time...