Skip to content

Reading Strings with "\" in them  #30

@Zapnologica

Description

@Zapnologica

I have a db connection string in my config file:

Connection: "localhost\sqlexpress"

but when I debug. in code the variable is " localhostsqlexpress" (no "" )

and if put two "" then both of them appear in the variable?

is there a special way I need to read the string?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions