Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- namespace Longest_Increasing_Subsequence
- {
- class Town
- {
- public string Name { get; set; }
- public int Population { get; set; }
- }
- class Program
- {
- static void Main()
- {
- //some logic here
- //сакам да направя метод, който ми връща int townPopulation и string townName
- }
- private static Town MyImbaMethod()
- {
- int townPopulation = 100;
- string townName = "Tristram";
- Town myTown = new Town();
- myTown.Name = townName;
- myTown.Population = townPopulation;
- return myTown;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement