Cooperation is beneficial but may be hard to achieve in situations where the selfish interests of individuals conflict with their common goal, such as in sharing of goods, help, knowledge or information, in trade and pollution negotiations, and in exploitation of common resources. The standard models of such 'social dilemmas' assume that the individuals are obliged to participate in the dilemma. These models fail to capture an important element of human interaction: that people are in general free to select their interaction partners. In this book a social dilemma with partner selection is introduced and studied with the methods of formal game theory, experimental economics and computer simulations. It allows exploration of simultaneous dynamics of the network structure and cooperative behavior on this structure. The results of this study show that partner choice strongly facilitates cooperation and leads to networks where free-riders are likely to be excluded.