I am working on an asp.net MVC-4 project. I am using resource file (.resx) for internationalization. I am using it first time so this question may be silly so sorry for that.
I have create a resource file for validation. I have created some custom validation also in my project. One of my custom validation is checking the array item length againt max and min value. So if validation fail than i have to show the validation message something like :
Array length must to less that 5 and greater than 1
Now i do not want to hard code the min (1) and max (5) value in message. So can anyone please tell me how can i achieve this while using resource file to serve validation messages ?