Profit on flat equity shares

I am new to trading and had a question,
Assume a company has 100 shares and i buy 70 of them and there will be a raise in the value of the share and i sell all the 70 shares with new share value, will it be a profit?