单项选择题

已知du(x,y)=(axy 3 +cos(x+2y))dx+(3x 2 y 2 +bcos(x+2y))dy,则

A.a=2,b=-2.
B.a=3,b=2.
C.a=2,b=2.
D.a=-2,b=2.