Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Runtime;
- namespace CsharpCourse
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- // single line comment
- /*
- * multiple line comment
- */
- // todo: Do ...
- // to view todo: view -> task list
- // xml documentation comment
- add(2 , 3);
- }
- /// <summary>
- /// calculate the sum of two int value
- /// </summary>
- /// <param name="a">int</param>
- /// <param name="b">int</param>
- /// <returns>int</returns>
- static int add(int a , int b)
- {
- return a + b;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement