Step 1: Understanding the Concept
\(1-x+y-xy=(1-x)+y(1-x)=(1-x)(1+y)\).
Step 2: Separate
\(\dfrac{dy}{1+y}=(1-x)\,dx\).
Step 3: Integrate
\(\log(1+y)=x-\dfrac{x^{2}}{2}+C\), option (D).
Final Answer:
The solution is \(\log(1+y)=x-\frac{x^{2}}{2}+C\).
\[ \boxed{\text{(D) }\log (1+y)=x-\frac{x^{2}}{2}+C} \]