Top "Unassigned-variable" questions

What does "Use of unassigned local variable" mean?

I keep getting this error for annualRate, monthlyCharge, and lateFee. using System; using System.Collections.Generic; using System.Linq; using …

c# unassigned-variable
Delphi: How to determine and empty TDatetime value

Seems there is no way to assign NULL (either an "unassigned value" to TDateTime variables. The only way I've imagined …

delphi datetime null unassigned-variable
ERROR: use of unassigned local variable (for string array)

I am reading connection strings from my App.config file and for that i have following code. try { string[] dbnames; …

c# .net arrays c#-4.0 unassigned-variable
C# error CS0165: Use of unassigned local variable - ignoring logic and out reference

After searching around I cant seem to locate why the C# compiler is complaining that the local variable dteDest is …

c# tryparse unassigned-variable
Use of unassigned local variable - if statements

I'm doing the following block of code and the compiler is complaining about unassigned local variables and could use some …

c# unassigned-variable
Use of unassigned variable (string)

I have a piece of code that iterates over XML attributes: string groupName; do { switch (/* ... */) { case "NAME": groupName = thisNavigator.Value; …

c# string unassigned-variable
use of unassigned local variable `total`

I want to have a sum of all intervals , but I write this code I have an error stating: use …

c# local-variables unassigned-variable