Code-switching is a term in linguistics referring to describe using more than one variety of language. Often codeswitching refers to using more than one variety of language in a single situation (often within a single sentence or even word.) In situations of stable bilingualism, codeswitching is something you learn as a member of your speech community