Home » page 3

C# suffix behind numeric literal

February 22, 2018 c# Leave a comment

Questions: I am new to C# and want to understand how values work. If I look at a normal integer value, it has 3 important parts in it: the type, name and value. int testInt = 3; | | | Type Name Value ...

How to Mock a Task<> Result?

February 22, 2018 c# Leave a comment

Questions: I’m setting up some unit tests and using Rhino Mocks to populate the object being tested. One of the things being mocked is a Task<HttpResponseMessage>, since the logic being te...

How to localize AppBar buttons

February 22, 2018 c# Leave a comment

Questions: I have a Windows 8 Metro application created from the Grid Application template. I need to localize the buttons in the AppBar. Normaly I use x:Uid and .resw for localization but this does n...