Background to this. The first equation was obtained by integrating another equation that describes the rate of change of current in the circuit (integral calculus). When you integrate something you always get "plus a constant" in the answer. To find the constant you have to plug in some numbers that you know, for example the initial condition of the system (the state at time zero). In this example we know that at time zero (the instant when the switch is closed), the current must be zero (because there is some inductance in the circuit). So using the knowledge that t = 0 means i = 0 allows the unknown constant C to be determined.