What's the most efficient way to pull culture information out of a resx's filename in c#?

Posted by Lee Warner on Stack Overflow See other posts from Stack Overflow or by Lee Warner
Published on 2010-04-23T18:24:32Z Indexed on 2010/04/23 18:43 UTC
Read the original article Hit count: 213

What's the most efficient way to pull culture information out of a resx's filename using C#? The solution should also handle there not being culture info in the file name (ie form1.resx). In that case a string assigned "Default" should be returned.

© Stack Overflow or respective owner

Related posts about best-practices

Related posts about string-manipulation