
December 14th, 2012, 12:55 PM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 6
Time spent in forums: 3 h 9 m 44 sec
Reputation Power: 0
|
|
|
Litlle help please
our Dr was teaching us about LINQ and generic collections he wrote an object oriented class named employee that contains three datamembers(firstName, lastName, and salary) after that we wrote the main program which contains an array of type employee then we filter a range of salaries by using AndAlso in a LINQ Query
'filter a range of salaries using AndAlso in a LINQ query
Dim between4k6k = From e In Employees Where e.monthSalary >= 4000D AndAlso e.monthSalary <= 6000D Select e
'display employees making between 4000 and 6000 month
Dispplay(between4k6k, String.Format("Employees earnings in the range {0:C} - {1:C} per month", 4000, 6000))
my question is what is the meaning of {0:c} - {1:c} (C means currency)
|