Skip to content

Commit f587554

Browse files
authored
Update README.markdown
1 parent fa284b5 commit f587554

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.markdown

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,28 @@ Get the code via git:
2727
git clone git://github.com/slashdotdash/faker-cs.git
2828

2929
Example code
30-
```csharp
30+
```CSharp
3131
var name = Faker.Name.FullName(); // Tod Yundt
3232
var firstName = Faker.Name.First(); // Orlando
3333
var lastName = Faker.Name.Last(); // Brekke
3434
var address = Faker.Address.StreetAddress(); // 713 Pfeffer Bridge
3535
var city = Faker.Address.City(); // Reynaton
3636
var number = Faker.RandomNumber.Next(100); // 30
37+
var dob = Faker.Identification.DateOfBirth(); // 1971-11-16T00:00:00.0000000Z
38+
39+
```US - United States
3740
var ssn = Faker.Identification.SocialSecurityNumber(); // 249-17-9666
3841
var mbi = Faker.Identification.MedicareBeneficiaryIdentifier(); // 8NK0Q74KT53
42+
var usPassport = Faker.Identification.UsPassport(); // 335587506
43+
44+
```UK - United Kingdom
3945
var nin = Faker.Identification.UkNationalInsuranceNumber(); // YA171053Y
40-
var dob = Faker.Identification.DateOfBirth(); // 1971-11-16T00:00:00.0000000Z
46+
var ninFormatted = Faker.Identification.UkNationalInsuranceNumber(true); // YA 17 10 53 Y
4147
var ukPassport = Faker.Identification.UkPassport(); // 496675685
42-
var usPassport = Faker.Identification.UsPassport(); // 335587506
48+
var ukNhs = Faker.Identification.NhsNumber(); // 6584168301
49+
var ukNhsFormatted = Faker.Identification.NhsNumber(true); // 658 416 8301
50+
51+
```BG - Bulgaria
4352
var bulgarianPin = Faker.Identification.BulgarianPin(); //6402142606
4453
4554
```

0 commit comments

Comments
 (0)