Marrying U.S citizen + transfer?

<p>Hello!</p>

<p>I have studied at a community college in california for a year now, and I am planning to transfer to a 4-year school after another year at CC. When I arrived to USA from Norway a year ago my plan was to transfer to cal state, because it is a lot cheaper than UC. Now anyways me and my U.S boyfriend are madly in love are thinking of getting married. If I get married, would I then be considered a permanent resident when I apply to a 4-year school and get the california resident -tuition? And guys, I wasn't planning on finding a fiancee here, it just happened :)</p>