What's new

Help How to use class as Log as method in c#?

shion_

Eternal Poster
Established
Joined
Apr 28, 2016
Posts
1,157
Reaction
378
Points
454
C#:
 user.Add(new Account()

            {
                AccountsNumber = "000001",
                AccountPin = "123456",
                Lastname = "bayola",
                Firstname = "wally",
                AccountBalance = "55000"
            });

            user.Add(new Account()
            {
                AccountsNumber = "000002",
                AccountPin = "654321",
                Lastname = "revilla",
                Firstname = "bong",
                AccountBalance = "1055000"
            });


            user.Add(new Account()
            {
                AccountsNumber = "000003",
                AccountPin = "789123",
                Lastname = "manalo",
                Firstname = "jose",
                AccountBalance = "1000000"
            });



        }
 
Last edited:

Similar threads

Back
Top