option-strict Questions

2

Solved

In a related question, my team is about to (hopefully) start using LINQ, and I'd like to take advantage of anonymous types. What is the best way to mix VB.NET's Option Strict (which we've been usin...
Rilke asked 11/10, 2008 at 16:27

8

Solved

Is there an equivalent for the C# 4 'dynamic' keyword when using type safe VB.NET, i.e. with Option Strict On?
Spout asked 22/5, 2010 at 22:18

3

Solved

I saw this post: Typos… Just use option strict and explicit please.. during one software development project, which I was on as a consultant, they were getting ridiculous amounts of errors every...
Saltcellar asked 16/3, 2010 at 13:15

4

Solved

Whenever I created a new VB.NET program I must go into the project's properties and set 'Option strict' on. Can I do that once so it is a default for every time I create a new project?
Farrago asked 1/3, 2011 at 21:37

3

Solved

I'm using a LINQ query to translate data inside a DataTable object to be a simple IEnumerable of a custom POCO object. My LINQ query is: Dim dtMessages As DataTable '...dtMessages is instanti...
Kean asked 2/8, 2010 at 14:40

3

Solved

Is there a way to turn option strict off for just a single line of code? I'm doing some maintenance work and I need to "cheat" in just one place and I don't want to lower the standard for the ent...
Succuss asked 11/3, 2009 at 16:35
1

© 2022 - 2024 — McMap. All rights reserved.