we'd regret it. the sun is gas and in order to mine something you need it to be solid. so we'd have to cool the sun down to the point that it either goes straight to solid form or becomes a liquid and then a solid. and then less than 2% of the sun is made up of valuable elements to mine, iron, carbon etc. - the sun is 70% hydrogen, 28% helium and 2% other elements. so mostly a fruitless endeavour. then consider how we'd have had to invent the technology to solidify the sun in the first place. the sun's surface is 5,600 celsius, and it's core is 15,000,000 celsius. creating this technology assuming (quite ridiculously) that it's possible would cost us many many years and obscene amounts of money both on research and parts and testing for the machinery. then if the project is a success and we solidify the sun we've got crap all to show for it because such a small percentage of it is valuable to mine so the whole project will have been an apocolyptically bad economic ass disaster. the sun is pretty damn big, having an area of 1.519686944x10to the 12th power kilometres, and weighing 1.989 × 10^30 kg. assuming that the valuable elements we could mine would total 2% (which is an optimistic assumption) then the useful elements have an area of 3.039373887x10 to the 10th power km and a weight of 3.978x 10 to the 28th power kg. so in fairness we'd get quite a lot of substance from the endeavour because the sun is giant. assuming that our objective in the first place wasn't for economic gain but rather for more resources then we'd have succeeded in this respect because we'd get a lot of resources. but as already stated, economic ass disaster. and also, and this factor is just a minor concern but ought to be mentioned, we - ahem - would no longer have a sun... you know that thing that kinda gives us life and allows our crops to live (photosynthesise), illuminates our planet and that we need. no photosynthesis means no trees giving off oxygen so we'll suffocate (commnt 2 long)