Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Fibbonachi number by LINQ expression

      
            
                
            
 run  | edit  | history  | help 1

public class Account { private string accoutName;

public string GetAccount()
{
    return accoutName;
}

public void SetAccount(string name)
{
    accoutName = name;
}

} public static void Main(string[] args) { string name ="SAVING_ACCOUNT"; Account account = new Account(); account.SetAccount(name); name = string.Empty; name = account.GetAccount();

Console.WriteLine(name);
Console.ReadLine();

}

  by  GYAN SINGH, 2 years ago




Please log in to post a comment.