Search code examples
c#visual-studioprocesssettitle

Set process title in visual studio attach to process c#


I want to set the process title of my console application in the attach to process dialog of visual studio.
I tried to set the assembly name, process description, etc.. but it didn't work.
How can I achieve this in C#?

enter image description here


Solution

  • Console.Title = "Your title here";
    

    enter image description here