if a local variable (NOT out parameter) is passed to a function with out assigning it will it work

The C# compiler does not allow the use of uninitialized variables. If the compiler detects the use of a variable that might not have been initialized, it generates compiler error CS0165