×
Log in
Twitter
Gmail
Facebook
.NET Fiddle
and
.NET Academy
shared account
Remember me
Log in
Sign up
or
Reset password
Search Tutorials
Log in
Sign up
About
Twitter
.NET Fiddle
Support
Contact Us
Visibility and Accessibility Modifiers
Exercise: Use the public modifier
< Previous
Next >
Goal
Modify the example class
Make the class public
Add a public method named 'GetAge' that returns an int.
using System; class Program { public static void Main() { } }
Reset
Verify
Page 3 of 18
< Previous
Next >
Loading packages and dependencies