⚠️ Notice: This page contains archived content and may reference older versions of C# or .NET.
For the latest tutorials, updated examples, and best practices for C# 12 and .NET 8, please visit the
latest tutorials ⚠️
Razor Markup Practice Question
Razor Markup Practice Question
Qu 1 : Write a razor markup to show output of sum of two variables as follows:
Int num1, num2, result; Result=num1 + num2;
Show result in <h2></h2> tag.