Sunday, 14 September, 2025г.
russian english deutsch french spanish portuguese czech greek georgian chinese japanese korean indonesian turkish thai uzbek

пример: покупка автомобиля в Запорожье

 

Part 5 Immediate window in visual studio

Part 5   Immediate window in visual studioУ вашего броузера проблема в совместимости с HTML5
Text version of the video http://csharp-video-tutorials.blogspot.com/2014/04/part-5-immediate-window-in-visual-studio_22.html Slides http://csharp-video-tutorials.blogspot.com/2014/04/part-5-immediate-window-in-visual-studio.html Visual Studio Text Articles http://csharp-video-tutorials.blogspot.com/2014/04/visual-studio-tips-and-tricks.html Visual Studio Slides http://csharp-video-tutorials.blogspot.com/2014/04/visual-studio-tips-and-tricks-slides.html Visual Studio Tutorial https://www.youtube.com/playlist?list=PL6n9fhu94yhWu3UKI0hYt2jvLB7_c8PHJ All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd In this video, we will discuss what is Immediate window and it's purpose. In Part 4 we discussed Command window. Immediate window is very helpful during debugging to evaluate expressions, execute statements, and print variable values. There are several ways to get to Immediate window in visual studio 1. Type immed in command window and press enter. To get to command window from Immediate window, type CMD and then press enter. 2. Thru visual studio menu - Debug - Windows - Immediate 3. Keyboard shortcut - Ctrl + D + I The visual studio commands that we can execute in command window are also supported in Immediate window, but you should use angular bracket. Immediate window supports execution of a function at design time. Let's understand this with an example. Consider the following program using System; namespace ConsoleApplication1 { class Program { static void Main() { int Sum = PrintSum(1, 2, 3); Console.WriteLine(Sum); } public static int PrintSum(int n1, int n2, int n3) { int sum = n1 + n2 + n3; return sum; } } } If you want to execute PrintSum() function at design time, in the Immediate window, type the following and press ENTER. ?PrintSum(1,2,3) Most of the time we use immediate window at runtime during debugging to inspect, change and print variable values. Let's understand this with an example. Insert a breakpoint on PrintSum() and execute the following ?n1 prints 1 ?n1==1 prints true ?n1==n2 prints false ?n1=10 changes the value of n1 to 10 Please Note: IntelliSense is also available in Immediate window.
Мой аккаунт