get web config key value in c# razor view

C#
@System.Configuration.ConfigurationManager.AppSettings["myKey"]
Source

Also in C#: