Tuesday, December 28, 2021

How show console write line in asp.net in visual studio

1. We use Debug.WriteLine("sss") instead of Console.WtriteLite("aaa") 

    and it will show in Immediate Window

2. For active Immediate Window 

   Tools > Options > Debugging > General > Tick (Check) in  

    [] Redirect  All Output Window text to the Immediate Window

3. Debug uses 

using System.Diagnostics;

No comments:

Post a Comment

Linq Expression syntax for where condtion in linq

(Expression<Func<T, bool>> filter)