∵f(x)=a x+1+1过定点(-1,2),又点在直线上,∴m+2n=2,
∴
2
m +
1
n =
1
2 ×(
2
m +
1
n )(m+2n)=
1
2 (4+
4n
m +
m
n )≥2+
4 =4 (当m=2n=1时取等),
故选C.
∵f(x)=a x+1+1过定点(-1,2),又点在直线上,∴m+2n=2,
∴
2
m +
1
n =
1
2 ×(
2
m +
1
n )(m+2n)=
1
2 (4+
4n
m +
m
n )≥2+
4 =4 (当m=2n=1时取等),
故选C.