简体   繁体   中英

How to make hyperlink in C# console application?

I have problem. I making easy console to learn c# language. But i don't know how to make hyper link. I mean something like that:

System.Console.Write("Link"); //on click open https://www.google.pl/

Its not possible to create hyperlinks within console applications. you should try it within other platform such as asp.net or wpf/winform.

Many years late, but in case it helps anyone. I believe it is not widely supported, but some terminal emulators allow you to use the sequence:

ESC ] 8 ; ; url ESC \ text here

You unset it with the same sequence but empty

ESC ] 8 ; ; ESC \

https://github.com/do.net/msbuild/pull/8178

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM