Skip to content

Instantly share code, notes, and snippets.

@saurabh-paunikar
Created December 19, 2017 06:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabh-paunikar/2b6f1bd4ff740db61965af16d3a56cb8 to your computer and use it in GitHub Desktop.
Save saurabh-paunikar/2b6f1bd4ff740db61965af16d3a56cb8 to your computer and use it in GitHub Desktop.
Constructor
using System;
public class Taxi
{
public bool isInitialized;
public Taxi()
{
isInitialized = true;
}
}
class TestTaxi
{
static void Main()
{
Taxi t = new Taxi();
Console.WriteLine(t.isInitialized);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment