In an undirected graph, if we add the degrees of all vertices, it is:

Option B is correct.

Summation of all degree of vertices is equal to twice the number of edges(even).