Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

Hassan Y Ansari

@Hassan Y Ansari
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Not understanding use of return statement in c#.
    H Hassan Y Ansari

    Thank you so much for your helpful explaination. Now I got the actual concept of return statement. Thank you so much.

    C# question csharp learning

  • Not understanding use of return statement in c#.
    H Hassan Y Ansari

    Thank you so much for your reply. But my question is that when i write statement "return j", it is returning value of j. This part I got but when I write "return 0", why it is not giving answer as 0? As I am new, I am not getting this. Please explain me in a little bit detail. Thank you

    C# question csharp learning

  • Not understanding use of return statement in c#.
    H Hassan Y Ansari

    I am new to programming and learning on youtube. I have question in following code: using System; class test { public static void Main() { int i = 0; abc(ref i); Console.WriteLine(i); Console.ReadLine(); } public static int abc(ref int j) { j = 100; return j; } } After running this, I am getting answer 100. But when I change return statement as "return 0", again answer is 100. May I know why? If I am returning 0, method should return 0 value to variable i no? I am new to programming so please explain me in very details. Thank you so much.

    C# question csharp learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups